com.sshtools.j2ssh.sftp
Class SshFxpRead

java.lang.Object
  extended bycom.sshtools.j2ssh.subsystem.SubsystemMessage
      extended bycom.sshtools.j2ssh.sftp.SshFxpRead
All Implemented Interfaces:
com.sshtools.j2ssh.sftp.MessageRequestId

public class SshFxpRead
extends SubsystemMessage
implements com.sshtools.j2ssh.sftp.MessageRequestId

DOCUMENT ME!


Field Summary
static int SSH_FXP_READ
          DOCUMENT ME!
 
Constructor Summary
SshFxpRead()
          Creates a new SshFxpRead object.
SshFxpRead(UnsignedInteger32 id, byte[] handle, UnsignedInteger64 offset, UnsignedInteger32 length)
          Creates a new SshFxpRead object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
 void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 byte[] getHandle()
          DOCUMENT ME!
 UnsignedInteger32 getId()
          DOCUMENT ME!
 UnsignedInteger32 getLength()
          DOCUMENT ME!
 java.lang.String getMessageName()
          DOCUMENT ME!
 UnsignedInteger64 getOffset()
          DOCUMENT ME!
 
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSH_FXP_READ

public static final int SSH_FXP_READ
DOCUMENT ME!

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 - DOCUMENT ME!
handle - DOCUMENT ME!
offset - DOCUMENT ME!
length - DOCUMENT ME!

SshFxpRead

public SshFxpRead()
Creates a new SshFxpRead object.

Method Detail

getId

public UnsignedInteger32 getId()
DOCUMENT ME!

Specified by:
getId in interface com.sshtools.j2ssh.sftp.MessageRequestId
Returns:
DOCUMENT ME!

getHandle

public byte[] getHandle()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getOffset

public UnsignedInteger64 getOffset()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getLength

public UnsignedInteger32 getLength()
DOCUMENT ME!

Returns:
DOCUMENT ME!

constructMessage

public void constructMessage(ByteArrayReader bar)
                      throws java.io.IOException,
                             InvalidMessageException
DOCUMENT ME!

Specified by:
constructMessage in class SubsystemMessage
Parameters:
bar - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
InvalidMessageException - DOCUMENT ME!

getMessageName

public java.lang.String getMessageName()
DOCUMENT ME!

Specified by:
getMessageName in class SubsystemMessage
Returns:
DOCUMENT ME!

constructByteArray

public void constructByteArray(ByteArrayWriter baw)
                        throws java.io.IOException,
                               InvalidMessageException
DOCUMENT ME!

Specified by:
constructByteArray in class SubsystemMessage
Parameters:
baw - DOCUMENT ME!
Throws:
java.io.IOException - DOCUMENT ME!
InvalidMessageException - DOCUMENT ME!