Package com.sshtools.j2ssh.sftp
Class SshFxpWrite
java.lang.Object
com.sshtools.j2ssh.subsystem.SubsystemMessage
com.sshtools.j2ssh.sftp.SshFxpWrite
- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new SshFxpWrite object.SshFxpWrite(UnsignedInteger32 id, byte[] handle, UnsignedInteger64 offset, byte[] data, int off, int len) Creates a new SshFxpWrite object. -
Method Summary
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
-
Field Details
-
SSH_FXP_WRITE
public static final int SSH_FXP_WRITE- See Also:
-
-
Constructor Details
-
SshFxpWrite
public SshFxpWrite()Creates a new SshFxpWrite object. -
SshFxpWrite
public SshFxpWrite(UnsignedInteger32 id, byte[] handle, UnsignedInteger64 offset, byte[] data, int off, int len) Creates a new SshFxpWrite object.- Parameters:
id-handle-offset-data-off-len-
-
-
Method Details
-
getId
- Returns:
-
getHandle
public byte[] getHandle()- Returns:
-
getOffset
- Returns:
-
getData
public byte[] getData()- Returns:
-
constructMessage
- Specified by:
constructMessagein classSubsystemMessage- Parameters:
bar-- Throws:
IOExceptionInvalidMessageException- DOCUMENT ME!
-
getMessageName
- Specified by:
getMessageNamein classSubsystemMessage- Returns:
-
constructByteArray
- Specified by:
constructByteArrayin classSubsystemMessage- Parameters:
baw-- Throws:
IOExceptionInvalidMessageException- DOCUMENT ME!
-