Package com.sshtools.j2ssh.sftp
Class SshFxpSymlink
- java.lang.Object
-
- com.sshtools.j2ssh.subsystem.SubsystemMessage
-
- com.sshtools.j2ssh.sftp.SshFxpSymlink
-
public class SshFxpSymlink extends SubsystemMessage
- Version:
- $Revision: 1.15 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description static intSSH_FXP_SYMLINK
-
Constructor Summary
Constructors Constructor Description SshFxpSymlink()Creates a new SshFxpSymlink object.SshFxpSymlink(UnsignedInteger32 id, java.lang.String targetpath, java.lang.String linkpath)Creates a new SshFxpSymlink object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconstructByteArray(ByteArrayWriter baw)voidconstructMessage(ByteArrayReader bar)UnsignedInteger32getId()java.lang.StringgetLinkPath()java.lang.StringgetMessageName()java.lang.StringgetTargetPath()-
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
-
-
-
-
Field Detail
-
SSH_FXP_SYMLINK
public static final int SSH_FXP_SYMLINK
- 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-targetpath-linkpath-
-
-
Method Detail
-
getId
public UnsignedInteger32 getId()
- Returns:
-
getLinkPath
public java.lang.String getLinkPath()
- Returns:
-
getTargetPath
public java.lang.String getTargetPath()
- Returns:
-
constructMessage
public void constructMessage(ByteArrayReader bar) throws java.io.IOException, InvalidMessageException
- Specified by:
constructMessagein classSubsystemMessage- Parameters:
bar-- Throws:
java.io.IOExceptionInvalidMessageException- DOCUMENT ME!
-
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageNamein classSubsystemMessage- Returns:
-
constructByteArray
public void constructByteArray(ByteArrayWriter baw) throws java.io.IOException, InvalidMessageException
- Specified by:
constructByteArrayin classSubsystemMessage- Parameters:
baw-- Throws:
java.io.IOExceptionInvalidMessageException- DOCUMENT ME!
-
-