Package com.sshtools.j2ssh.sftp
Class SshFxpRead
- java.lang.Object
-
- com.sshtools.j2ssh.subsystem.SubsystemMessage
-
- com.sshtools.j2ssh.sftp.SshFxpRead
-
public class SshFxpRead extends SubsystemMessage
- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description static int
SSH_FXP_READ
-
Constructor Summary
Constructors Constructor Description SshFxpRead()
Creates a new SshFxpRead object.SshFxpRead(UnsignedInteger32 id, byte[] handle, UnsignedInteger64 offset, UnsignedInteger32 length)
Creates a new SshFxpRead object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
constructByteArray(ByteArrayWriter baw)
void
constructMessage(ByteArrayReader bar)
byte[]
getHandle()
UnsignedInteger32
getId()
UnsignedInteger32
getLength()
java.lang.String
getMessageName()
UnsignedInteger64
getOffset()
-
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
-
-
-
-
Field Detail
-
SSH_FXP_READ
public static final int SSH_FXP_READ
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SshFxpRead
public SshFxpRead(UnsignedInteger32 id, byte[] handle, UnsignedInteger64 offset, UnsignedInteger32 length)
Creates a new SshFxpRead object.- Parameters:
id
-handle
-offset
-length
-
-
SshFxpRead
public SshFxpRead()
Creates a new SshFxpRead object.
-
-
Method Detail
-
getId
public UnsignedInteger32 getId()
- Returns:
-
getHandle
public byte[] getHandle()
- Returns:
-
getOffset
public UnsignedInteger64 getOffset()
- Returns:
-
getLength
public UnsignedInteger32 getLength()
- Returns:
-
constructMessage
public void constructMessage(ByteArrayReader bar) throws java.io.IOException, InvalidMessageException
- Specified by:
constructMessage
in classSubsystemMessage
- Parameters:
bar
-- Throws:
java.io.IOException
InvalidMessageException
- DOCUMENT ME!
-
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageName
in classSubsystemMessage
- Returns:
-
constructByteArray
public void constructByteArray(ByteArrayWriter baw) throws java.io.IOException, InvalidMessageException
- Specified by:
constructByteArray
in classSubsystemMessage
- Parameters:
baw
-- Throws:
java.io.IOException
InvalidMessageException
- DOCUMENT ME!
-
-