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 ClientSession
source
- The source pathdstSession
- The destination ClientSession
destination
- The destination pathtimestamp
- The timestamp
of the file - may be null
details
- 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 ClientSession
source
- The source pathdstSession
- The destination ClientSession
destination
- The destination pathtimestamp
- The timestamp
of the file - may be null
details
- The details
of the attempted file transferxferSize
- Number of successfully transfered bytes - zero if thrown not null
thrown
- 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 ClientSession
source
- The source pathdstSession
- The destination ClientSession
destination
- The destination pathtimestamp
- The timestamp
of the directory - may be null
details
- 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 ClientSession
source
- The source pathdstSession
- The destination ClientSession
destination
- The destination pathtimestamp
- The timestamp
of the directory - may be null
details
- The details
of the attempted directory transferthrown
- Error thrown during transfer attempt - null
if successfulIOException
- If failed to handle the callbackCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.