Class CopyDataExtensionImpl
- java.lang.Object
-
- org.apache.sshd.common.util.logging.AbstractLoggingBean
-
- org.apache.sshd.sftp.client.extensions.helpers.AbstractSftpClientExtension
-
- org.apache.sshd.sftp.client.extensions.helpers.CopyDataExtensionImpl
-
- All Implemented Interfaces:
NamedResource
,OptionalFeature
,CopyDataExtension
,SftpClientExtension
,RawSftpClient
,SftpClientHolder
public class CopyDataExtensionImpl extends AbstractSftpClientExtension implements CopyDataExtension
Implements the "copy-data" extension- Author:
- Apache MINA SSHD Project
- See Also:
- DRFAT 00 - section 7
-
-
Field Summary
-
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
Fields inherited from interface org.apache.sshd.common.OptionalFeature
FALSE, TRUE
-
-
Constructor Summary
Constructors Constructor Description CopyDataExtensionImpl(SftpClient client, RawSftpClient raw, Collection<String> extra)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
copyData(SftpClient.Handle readHandle, long readOffset, long readLength, SftpClient.Handle writeHandle, long writeOffset)
-
Methods inherited from class org.apache.sshd.sftp.client.extensions.helpers.AbstractSftpClientExtension
checkExtendedReplyBuffer, checkStatus, getClient, getCommandBuffer, getCommandBuffer, getCommandBuffer, getName, isSupported, putTarget, receive, receive, receive, send, sendAndCheckExtendedCommandStatus, sendExtendedCommand, throwStatusException, validateIncomingResponse
-
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.NamedResource
getName
-
Methods inherited from interface org.apache.sshd.common.OptionalFeature
isSupported
-
Methods inherited from interface org.apache.sshd.sftp.client.SftpClientHolder
getClient
-
-
-
-
Constructor Detail
-
CopyDataExtensionImpl
public CopyDataExtensionImpl(SftpClient client, RawSftpClient raw, Collection<String> extra)
-
-
Method Detail
-
copyData
public void copyData(SftpClient.Handle readHandle, long readOffset, long readLength, SftpClient.Handle writeHandle, long writeOffset) throws IOException
- Specified by:
copyData
in interfaceCopyDataExtension
- Throws:
IOException
-
-