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:
constructMessage
in classSubsystemMessage
- Parameters:
bar
-- Throws:
IOException
InvalidMessageException
- DOCUMENT ME!
-
getMessageName
- Specified by:
getMessageName
in classSubsystemMessage
- Returns:
-
constructByteArray
- Specified by:
constructByteArray
in classSubsystemMessage
- Parameters:
baw
-- Throws:
IOException
InvalidMessageException
- DOCUMENT ME!
-