public interface ScpRemote2RemoteTransferListener
| Modifier and Type | Method and Description |
|---|---|
void |
endDirectDirectoryTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details,
java.lang.Throwable thrown)
Indicates end of direct file transfer
|
void |
endDirectFileTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details,
long xferSize,
java.lang.Throwable thrown)
Indicates end of direct file transfer
|
void |
startDirectDirectoryTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details)
Indicates start of direct directory transfer
|
void |
startDirectFileTransfer(ClientSession srcSession,
java.lang.String source,
ClientSession dstSession,
java.lang.String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details)
Indicates start of direct file transfer
|
void startDirectFileTransfer(ClientSession srcSession, java.lang.String source, ClientSession dstSession, java.lang.String destination, ScpTimestampCommandDetails timestamp, ScpReceiveFileCommandDetails details) throws java.io.IOException
srcSession - The source ClientSessionsource - The source pathdstSession - The destination ClientSessiondestination - The destination pathtimestamp - The timestamp of the file - may be nulldetails - The details of the attempted file transferjava.io.IOException - If failed to handle the callbackvoid endDirectFileTransfer(ClientSession srcSession, java.lang.String source, ClientSession dstSession, java.lang.String destination, ScpTimestampCommandDetails timestamp, ScpReceiveFileCommandDetails details, long xferSize, java.lang.Throwable thrown) throws java.io.IOException
srcSession - The source ClientSessionsource - The source pathdstSession - The destination ClientSessiondestination - The destination pathtimestamp - The timestamp of the file - may be nulldetails - The details of the attempted file transferxferSize - Number of successfully transfered bytes - zero if thrown not nullthrown - Error thrown during transfer attempt - null if successfuljava.io.IOException - If failed to handle the callbackvoid startDirectDirectoryTransfer(ClientSession srcSession, java.lang.String source, ClientSession dstSession, java.lang.String destination, ScpTimestampCommandDetails timestamp, ScpReceiveDirCommandDetails details) throws java.io.IOException
srcSession - The source ClientSessionsource - The source pathdstSession - The destination ClientSessiondestination - The destination pathtimestamp - The timestamp of the directory - may be nulldetails - The details of the attempted directory transferjava.io.IOException - If failed to handle the callbackvoid endDirectDirectoryTransfer(ClientSession srcSession, java.lang.String source, ClientSession dstSession, java.lang.String destination, ScpTimestampCommandDetails timestamp, ScpReceiveDirCommandDetails details, java.lang.Throwable thrown) throws java.io.IOException
srcSession - The source ClientSessionsource - The source pathdstSession - The destination ClientSessiondestination - The destination pathtimestamp - The timestamp of the directory - may be nulldetails - The details of the attempted directory transferthrown - Error thrown during transfer attempt - null if successfuljava.io.IOException - If failed to handle the callback