com.sshtools.j2ssh.sftp
Class SshFxpSetStat

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

public class SshFxpSetStat
extends SubsystemMessage
implements MessageRequestId

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

Field Summary
private  FileAttributes attrs
           
private  UnsignedInteger32 id
           
private  java.lang.String path
           
static int SSH_FXP_SETSTAT
           
 
Constructor Summary
SshFxpSetStat()
          Creates a new SshFxpSetStat object.
SshFxpSetStat(UnsignedInteger32 id, java.lang.String path, FileAttributes attrs)
          Creates a new SshFxpSetStat object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
           
 void constructMessage(ByteArrayReader bar)
           
 FileAttributes getAttributes()
           
 UnsignedInteger32 getId()
           
 java.lang.String getMessageName()
           
 java.lang.String getPath()
           
 
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_SETSTAT

public static final int SSH_FXP_SETSTAT
See Also:
Constant Field Values

id

private UnsignedInteger32 id

path

private java.lang.String path

attrs

private FileAttributes attrs
Constructor Detail

SshFxpSetStat

public SshFxpSetStat()
Creates a new SshFxpSetStat object.


SshFxpSetStat

public SshFxpSetStat(UnsignedInteger32 id,
                     java.lang.String path,
                     FileAttributes attrs)
Creates a new SshFxpSetStat object.

Parameters:
id -
path -
attrs -
Method Detail

getId

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

getPath

public java.lang.String getPath()
Returns:

getAttributes

public FileAttributes getAttributes()
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!