Top Description Fields Methods
org.apache.sshd.sftp.client

public Interface SftpErrorDataHandler

Known Direct Implementers
org.apache.sshd.sftp.client.impl.AbstractSftpClient
Annotations
@FunctionalInterface
Imports
java.io.IOException

Callback for any error stream data sent by the server
Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final SftpErrorDataHandler

Method Summary

Modifier and TypeMethod and Description
public void
errorData(byte[]
The buffer of the incoming data
buf
,
int
Offset in buffer to read the data
start
,
int
Available data in buffer
len
)

Receive binary data from server error stream

Field Detail

EMPTYback to summary
public static final SftpErrorDataHandler EMPTY

Method Detail

errorDataback to summary
public void errorData(byte[] buf, int start, int len) throws IOException

Receive binary data from server error stream

Parameters
buf:byte[]

The buffer of the incoming data

start:int

Offset in buffer to read the data

len:int

Available data in buffer

Exceptions
IOException:
If failed to receive incoming data