Package com.sshtools.j2ssh.sftp
Class SshFxpHandle
- java.lang.Object
-
- com.sshtools.j2ssh.subsystem.SubsystemMessage
-
- com.sshtools.j2ssh.sftp.SshFxpHandle
-
public class SshFxpHandle extends SubsystemMessage
- Version:
- $Revision: 1.17 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description static intSSH_FXP_HANDLE
-
Constructor Summary
Constructors Constructor Description SshFxpHandle()Creates a new SshFxpHandle object.SshFxpHandle(UnsignedInteger32 id, byte[] handle)Creates a new SshFxpHandle object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconstructByteArray(ByteArrayWriter baw)voidconstructMessage(ByteArrayReader bar)byte[]getHandle()UnsignedInteger32getId()java.lang.StringgetMessageName()-
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
-
-
-
-
Field Detail
-
SSH_FXP_HANDLE
public static final int SSH_FXP_HANDLE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SshFxpHandle
public SshFxpHandle(UnsignedInteger32 id, byte[] handle)
Creates a new SshFxpHandle object.- Parameters:
id-handle-
-
SshFxpHandle
public SshFxpHandle()
Creates a new SshFxpHandle object.
-
-
Method Detail
-
getId
public UnsignedInteger32 getId()
- Returns:
-
getHandle
public byte[] getHandle()
- 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!
-
-