Package org.apache.sshd.sftp.client
Interface SftpErrorDataHandler
-
- All Known Implementing Classes:
AbstractSftpClient
,DefaultSftpClient
,SftpFileSystem.Wrapper
- 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
-
-
Field Summary
Fields Modifier and Type Field Description static SftpErrorDataHandler
EMPTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
errorData(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 java.io.IOException
Receive 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:
java.io.IOException
- If failed to receive incoming data
-
-