com.sshtools.j2ssh.sftp
Class SshFxpRename

java.lang.Object
  extended by com.sshtools.j2ssh.subsystem.SubsystemMessage
      extended by com.sshtools.j2ssh.sftp.SshFxpRename

public class SshFxpRename
extends SubsystemMessage

Version:
$Revision: 1.16 $
Author:
$author$

Field Summary
static int SSH_FXP_RENAME
           
 
Constructor Summary
SshFxpRename()
          Creates a new SshFxpRename object.
SshFxpRename(UnsignedInteger32 id, java.lang.String oldpath, java.lang.String newpath)
          Creates a new SshFxpRename object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
           
 void constructMessage(ByteArrayReader bar)
           
 UnsignedInteger32 getId()
           
 java.lang.String getMessageName()
           
 java.lang.String getNewPath()
           
 java.lang.String getOldPath()
           
 
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_RENAME

public static final int SSH_FXP_RENAME
See Also:
Constant Field Values
Constructor Detail

SshFxpRename

public SshFxpRename()
Creates a new SshFxpRename object.


SshFxpRename

public SshFxpRename(UnsignedInteger32 id,
                    java.lang.String oldpath,
                    java.lang.String newpath)
Creates a new SshFxpRename object.

Parameters:
id -
oldpath -
newpath -
Method Detail

getId

public UnsignedInteger32 getId()
Returns:

getOldPath

public java.lang.String getOldPath()
Returns:

getNewPath

public java.lang.String getNewPath()
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!


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.