com.sshtools.j2ssh.sftp
Class SshFxpSymlink

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

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

DOCUMENT ME!


Field Summary
static int SSH_FXP_SYMLINK
          DOCUMENT ME!
 
Constructor Summary
SshFxpSymlink()
          Creates a new SshFxpSymlink object.
SshFxpSymlink(UnsignedInteger32 id, java.lang.String targetpath, java.lang.String linkpath)
          Creates a new SshFxpSymlink object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
 void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 UnsignedInteger32 getId()
          DOCUMENT ME!
 java.lang.String getLinkPath()
          DOCUMENT ME!
 java.lang.String getMessageName()
          DOCUMENT ME!
 java.lang.String getTargetPath()
          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_SYMLINK

public static final int SSH_FXP_SYMLINK
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SshFxpSymlink

public SshFxpSymlink()
Creates a new SshFxpSymlink object.


SshFxpSymlink

public SshFxpSymlink(UnsignedInteger32 id,
                     java.lang.String targetpath,
                     java.lang.String linkpath)
Creates a new SshFxpSymlink object.

Parameters:
id - DOCUMENT ME!
targetpath - DOCUMENT ME!
linkpath - DOCUMENT ME!
Method Detail

getId

public UnsignedInteger32 getId()
DOCUMENT ME!

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

getLinkPath

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

Returns:
DOCUMENT ME!

getTargetPath

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