@FunctionalInterface
public interface SftpErrorDataHandler
Modifier and Type | Field and Description |
---|---|
static SftpErrorDataHandler |
EMPTY |
Modifier and Type | Method and Description |
---|---|
void |
errorData(byte[] buf,
int start,
int len)
Receive binary data from server error stream
|
static final SftpErrorDataHandler EMPTY
void errorData(byte[] buf, int start, int len) throws java.io.IOException
buf
- The buffer of the incoming datastart
- Offset in buffer to read the datalen
- Available data in bufferjava.io.IOException
- If failed to receive incoming data