com.sshtools.j2ssh.agent
Class SshAgentPing

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

 class SshAgentPing
extends SubsystemMessage


Field Summary
private  byte[] padding
           
static int SSH_AGENT_PING
           
 
Constructor Summary
SshAgentPing()
          Creates a new SshAgentPing object.
SshAgentPing(byte[] padding)
          Creates a new SshAgentPing object.
 
Method Summary
 void constructByteArray(ByteArrayWriter baw)
           
 void constructMessage(ByteArrayReader bar)
           
 java.lang.String getMessageName()
           
 byte[] getPadding()
           
 
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_PING

public static final int SSH_AGENT_PING
See Also:
Constant Field Values

padding

private byte[] padding
Constructor Detail

SshAgentPing

public SshAgentPing()
Creates a new SshAgentPing object.


SshAgentPing

public SshAgentPing(byte[] padding)
Creates a new SshAgentPing object.

Parameters:
padding -
Method Detail

getPadding

public byte[] getPadding()
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