com.sshtools.j2ssh.sftp
Class SshFxpName

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

public class SshFxpName
extends SubsystemMessage
implements MessageRequestId

Version:
$Revision: 1.1 $
Author:
$author$

Field Summary
private  SftpFile[] files
           
private  UnsignedInteger32 id
           
static int SSH_FXP_NAME
           
 
Constructor Summary
SshFxpName()
          Creates a new SshFxpName object.
SshFxpName(UnsignedInteger32 id, SftpFile[] files)
          Creates a new SshFxpName object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
           
 void constructMessage(ByteArrayReader bar)
           
 SftpFile[] getFiles()
           
 UnsignedInteger32 getId()
           
 java.lang.String getMessageName()
           
 
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_NAME

public static final int SSH_FXP_NAME
See Also:
Constant Field Values

id

private UnsignedInteger32 id

files

private SftpFile[] files
Constructor Detail

SshFxpName

public SshFxpName(UnsignedInteger32 id,
                  SftpFile[] files)
Creates a new SshFxpName object.

Parameters:
id -
files -

SshFxpName

public SshFxpName()
Creates a new SshFxpName object.

Method Detail

getId

public UnsignedInteger32 getId()
Specified by:
getId in interface MessageRequestId
Returns:

getFiles

public SftpFile[] getFiles()
Returns:

constructMessage

public void constructMessage(ByteArrayReader bar)
                      throws java.io.IOException,
                             InvalidMessageException
Specified by:
constructMessage in class SubsystemMessage
Parameters:
bar -
Throws:
java.io.IOException
InvalidMessageException - DOCUMENT ME!

getMessageName

public java.lang.String getMessageName()
Specified by:
getMessageName in class SubsystemMessage
Returns:

constructByteArray

public void constructByteArray(ByteArrayWriter baw)
                        throws java.io.IOException,
                               InvalidMessageException
Specified by:
constructByteArray in class SubsystemMessage
Parameters:
baw -
Throws:
java.io.IOException
InvalidMessageException - DOCUMENT ME!