Package org.apache.sshd.sftp.client
Interface SftpErrorDataHandler
-
- All Known Implementing Classes:
AbstractSftpClient,DefaultSftpClient
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface SftpErrorDataHandler
Callback for any error stream data sent by the server- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static SftpErrorDataHandlerEMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiderrorData(byte[] buf, int start, int len)Receive binary data from server error stream
-
-
-
Field Detail
-
EMPTY
static final SftpErrorDataHandler EMPTY
-
-
Method Detail
-
errorData
void errorData(byte[] buf, int start, int len) throws IOExceptionReceive binary data from server error stream- Parameters:
buf- The buffer of the incoming datastart- Offset in buffer to read the datalen- Available data in buffer- Throws:
IOException- If failed to receive incoming data
-
-