com.sshtools.j2ssh.sftp

Class SshFxpSymlink

Implemented Interfaces:
com.sshtools.j2ssh.sftp.MessageRequestId

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

Version:
$Revision: 1.15 $
Author:
$author$

Field Summary

static int
SSH_FXP_SYMLINK

Constructor Summary

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

Method Summary

void
constructByteArray(ByteArrayWriter baw)
void
constructMessage(ByteArrayReader bar)
UnsignedInteger32
getId()
String
getLinkPath()
String
getMessageName()
String
getTargetPath()

Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage

constructByteArray, constructMessage, fromByteArray, getMessageName, getMessageType, toByteArray

Field Details

SSH_FXP_SYMLINK

public static final int SSH_FXP_SYMLINK
Field Value:
20

Constructor Details

SshFxpSymlink

public SshFxpSymlink()
Creates a new SshFxpSymlink object.

SshFxpSymlink

public SshFxpSymlink(UnsignedInteger32 id,
                     String targetpath,
                     String linkpath)
Creates a new SshFxpSymlink object.
Parameters:
id -
targetpath -
linkpath -

Method Details

constructByteArray

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

constructMessage

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

getId

public UnsignedInteger32 getId()
Specified by:
getId in interface com.sshtools.j2ssh.sftp.MessageRequestId
Returns:

getLinkPath

public String getLinkPath()
Returns:

getMessageName

public String getMessageName()
Overrides:
getMessageName in interface SubsystemMessage
Returns:

getTargetPath

public String getTargetPath()
Returns:

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