Package | Description |
---|---|
org.apache.sshd.scp.client | |
org.apache.sshd.scp.common | |
org.apache.sshd.scp.common.helpers |
Modifier and Type | Method and Description |
---|---|
ScpTimestampCommandDetails |
DefaultScpStreamResolver.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
void |
ScpRemote2RemoteTransferListener.endDirectDirectoryTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details,
Throwable thrown)
Indicates end of direct file transfer
|
void |
ScpRemote2RemoteTransferListener.endDirectFileTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details,
long xferSize,
Throwable thrown)
Indicates end of direct file transfer
|
protected void |
ScpRemote2RemoteTransferHelper.handleDirectoryTransferRequest(String srcPath,
InputStream srcIn,
OutputStream srcOut,
String dstPath,
InputStream dstIn,
OutputStream dstOut,
int depth,
ScpTimestampCommandDetails dirTime,
String header) |
protected long |
ScpRemote2RemoteTransferHelper.handleFileTransferRequest(String source,
InputStream srcIn,
OutputStream srcOut,
String destination,
InputStream dstIn,
OutputStream dstOut,
ScpTimestampCommandDetails fileTime,
String header) |
void |
ScpRemote2RemoteTransferListener.startDirectDirectoryTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveDirCommandDetails details)
Indicates start of direct directory transfer
|
void |
ScpRemote2RemoteTransferListener.startDirectFileTransfer(ClientSession srcSession,
String source,
ClientSession dstSession,
String destination,
ScpTimestampCommandDetails timestamp,
ScpReceiveFileCommandDetails details)
Indicates start of direct file transfer
|
default void |
ScpClient.upload(byte[] data,
int offset,
int len,
String remote,
Collection<PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
default void |
ScpClient.upload(byte[] data,
String remote,
Collection<PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
void |
ScpClient.upload(InputStream local,
String remote,
long size,
Collection<PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
void |
DefaultScpClient.upload(InputStream local,
String remote,
long size,
Collection<PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
Constructor and Description |
---|
DefaultScpStreamResolver(String name,
Path mockPath,
Collection<PosixFilePermission> perms,
ScpTimestampCommandDetails time,
long size,
InputStream local,
String cmd) |
Modifier and Type | Method and Description |
---|---|
ScpTimestampCommandDetails |
ScpSourceStreamResolver.getTimestamp() |
Modifier and Type | Method and Description |
---|---|
void |
ScpTargetStreamResolver.postProcessReceivedData(String name,
boolean preserve,
Set<PosixFilePermission> perms,
ScpTimestampCommandDetails time)
Called after successful reception of the data (and after closing the stream)
|
void |
ScpReceiveLineHandler.process(Session session,
String line,
boolean isDir,
ScpTimestampCommandDetails time) |
void |
ScpHelper.receiveDir(String header,
Path local,
ScpTimestampCommandDetails time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveFile(String header,
Path local,
ScpTimestampCommandDetails time,
boolean preserve,
int bufferSize) |
void |
ScpHelper.receiveStream(String header,
ScpTargetStreamResolver resolver,
ScpTimestampCommandDetails time,
boolean preserve,
int bufferSize) |
default Path |
ScpFileOpener.resolveIncomingFilePath(Session session,
Path localPath,
String name,
boolean preserve,
Set<PosixFilePermission> permissions,
ScpTimestampCommandDetails time)
Invoked when receiving a new file to via a directory command
|
static void |
ScpFileOpener.updateFileProperties(Path file,
Set<PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
Modifier and Type | Field and Description |
---|---|
protected ScpTimestampCommandDetails |
LocalFileScpSourceStreamResolver.time |
Modifier and Type | Method and Description |
---|---|
ScpTimestampCommandDetails |
LocalFileScpSourceStreamResolver.getTimestamp() |
static ScpTimestampCommandDetails |
ScpTimestampCommandDetails.parse(String line) |
Modifier and Type | Method and Description |
---|---|
void |
LocalFileScpTargetStreamResolver.postProcessReceivedData(String name,
boolean preserve,
Set<PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
protected void |
LocalFileScpTargetStreamResolver.updateFileProperties(String name,
Path path,
Set<PosixFilePermission> perms,
ScpTimestampCommandDetails time) |
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.