Package com.sshtools.j2ssh.sftp
Class SshFxpVersion
- java.lang.Object
-
- com.sshtools.j2ssh.subsystem.SubsystemMessage
-
- com.sshtools.j2ssh.sftp.SshFxpVersion
-
public class SshFxpVersion extends SubsystemMessage
- Version:
- $Revision: 1.16 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description static int
SSH_FXP_VERSION
-
Constructor Summary
Constructors Constructor Description SshFxpVersion()
Creates a new SshFxpVersion object.SshFxpVersion(UnsignedInteger32 version, java.util.Map extended)
Creates a new SshFxpVersion object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
constructByteArray(ByteArrayWriter baw)
void
constructMessage(ByteArrayReader bar)
java.util.Map
getExtended()
java.lang.String
getMessageName()
UnsignedInteger32
getVersion()
-
Methods inherited from class com.sshtools.j2ssh.subsystem.SubsystemMessage
fromByteArray, getMessageType, toByteArray
-
-
-
-
Field Detail
-
SSH_FXP_VERSION
public static final int SSH_FXP_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SshFxpVersion
public SshFxpVersion()
Creates a new SshFxpVersion object.
-
SshFxpVersion
public SshFxpVersion(UnsignedInteger32 version, java.util.Map extended)
Creates a new SshFxpVersion object.- Parameters:
version
-extended
-
-
-
Method Detail
-
getVersion
public UnsignedInteger32 getVersion()
- Returns:
-
getExtended
public java.util.Map getExtended()
- Returns:
-
constructMessage
public void constructMessage(ByteArrayReader bar) throws java.io.IOException, InvalidMessageException
- Specified by:
constructMessage
in classSubsystemMessage
- Parameters:
bar
-- Throws:
java.io.IOException
InvalidMessageException
-
getMessageName
public java.lang.String getMessageName()
- Specified by:
getMessageName
in classSubsystemMessage
- Returns:
-
constructByteArray
public void constructByteArray(ByteArrayWriter baw) throws java.io.IOException, InvalidMessageException
- Specified by:
constructByteArray
in classSubsystemMessage
- Parameters:
baw
-- Throws:
java.io.IOException
InvalidMessageException
-
-