public interface ScpRemote2RemoteTransferListener
| Modifier and Type | Method and Description |
|---|---|
void |
endDirectDirectoryTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details,
Throwable thrown)
Indicates end of direct file transfer
|
void |
endDirectFileTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details,
long xferSize,
Throwable thrown)
Indicates end of direct file transfer
|
void |
startDirectDirectoryTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details)
Indicates start of direct directory transfer
|
void |
startDirectFileTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details)
Indicates start of direct file transfer
|
void startDirectFileTransfer(ClientSession srcSession, String source, ClientSession dstSession, String destination, ScpTimestampCommandDetails timestamp, ScpReceiveFileCommandDetails details) throws 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 transferIOException - If failed to handle the callbackvoid endDirectFileTransfer(ClientSession srcSession, String source, ClientSession dstSession, String destination, ScpTimestampCommandDetails timestamp, ScpReceiveFileCommandDetails details, long xferSize, Throwable thrown) throws 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 successfulIOException - If failed to handle the callbackvoid startDirectDirectoryTransfer(ClientSession srcSession, String source, ClientSession dstSession, String destination, ScpTimestampCommandDetails timestamp, ScpReceiveDirCommandDetails details) throws 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 transferIOException - If failed to handle the callbackvoid endDirectDirectoryTransfer(ClientSession srcSession, String source, ClientSession dstSession, String destination, ScpTimestampCommandDetails timestamp, ScpReceiveDirCommandDetails details, Throwable thrown) throws 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 successfulIOException - If failed to handle the callbackCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.