com.sshtools.j2ssh.sftp
Class SshFxpHandle

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

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

DOCUMENT ME!


Field Summary
static int SSH_FXP_HANDLE
          DOCUMENT ME!
 
Constructor Summary
SshFxpHandle()
          Creates a new SshFxpHandle object.
SshFxpHandle(UnsignedInteger32 id, byte[] handle)
          Creates a new SshFxpHandle object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
 void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 byte[] getHandle()
          DOCUMENT ME!
 UnsignedInteger32 getId()
          DOCUMENT ME!
 java.lang.String getMessageName()
          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_HANDLE

public static final int SSH_FXP_HANDLE
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SshFxpHandle

public SshFxpHandle(UnsignedInteger32 id,
                    byte[] handle)
Creates a new SshFxpHandle object.

Parameters:
id - DOCUMENT ME!
handle - DOCUMENT ME!

SshFxpHandle

public SshFxpHandle()
Creates a new SshFxpHandle 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!

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!