com.sshtools.j2ssh.agent
Class SshAgentRequestVersion

java.lang.Object
  extended by com.sshtools.j2ssh.subsystem.SubsystemMessage
      extended by com.sshtools.j2ssh.agent.SshAgentRequestVersion

 class SshAgentRequestVersion
extends SubsystemMessage


Field Summary
static int SSH_AGENT_REQUEST_VERSION
           
(package private)  java.lang.String version
           
 
Constructor Summary
SshAgentRequestVersion()
          Creates a new SshAgentRequestVersion object.
SshAgentRequestVersion(java.lang.String version)
          Creates a new SshAgentRequestVersion object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
           
 void constructMessage(ByteArrayReader bar)
           
 java.lang.String getMessageName()
           
 java.lang.String getVersion()
           
 
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_AGENT_REQUEST_VERSION

public static final int SSH_AGENT_REQUEST_VERSION
See Also:
Constant Field Values

version

java.lang.String version
Constructor Detail

SshAgentRequestVersion

public SshAgentRequestVersion()
Creates a new SshAgentRequestVersion object.


SshAgentRequestVersion

public SshAgentRequestVersion(java.lang.String version)
Creates a new SshAgentRequestVersion object.

Parameters:
version -
Method Detail

getVersion

public java.lang.String getVersion()
Returns:

getMessageName

public java.lang.String getMessageName()
Specified by:
getMessageName in class SubsystemMessage
Returns:

constructByteArray

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

constructMessage

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