com.sshtools.j2ssh.connection
Class SshMsgGlobalRequest

java.lang.Object
  extended bycom.sshtools.j2ssh.transport.SshMessage
      extended bycom.sshtools.j2ssh.connection.SshMsgGlobalRequest

public class SshMsgGlobalRequest
extends SshMessage

DOCUMENT ME!


Field Summary
protected static int SSH_MSG_GLOBAL_REQUEST
          DOCUMENT ME!
 
Constructor Summary
SshMsgGlobalRequest()
          Creates a new SshMsgGlobalRequest object.
SshMsgGlobalRequest(java.lang.String requestName, boolean wantReply, byte[] requestData)
          Creates a new SshMsgGlobalRequest object.
 
Method Summary
protected  void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
protected  void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 java.lang.String getMessageName()
          DOCUMENT ME!
 byte[] getRequestData()
          DOCUMENT ME!
 java.lang.String getRequestName()
          DOCUMENT ME!
 boolean getWantReply()
          DOCUMENT ME!
 
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage
fromByteArray, getMessageId, getMessageId, toByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSH_MSG_GLOBAL_REQUEST

protected static final int SSH_MSG_GLOBAL_REQUEST
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SshMsgGlobalRequest

public SshMsgGlobalRequest(java.lang.String requestName,
                           boolean wantReply,
                           byte[] requestData)
Creates a new SshMsgGlobalRequest object.

Parameters:
requestName - DOCUMENT ME!
wantReply - DOCUMENT ME!
requestData - DOCUMENT ME!

SshMsgGlobalRequest

public SshMsgGlobalRequest()
Creates a new SshMsgGlobalRequest object.

Method Detail

getMessageName

public java.lang.String getMessageName()
DOCUMENT ME!

Specified by:
getMessageName in class SshMessage
Returns:
DOCUMENT ME!

getRequestData

public byte[] getRequestData()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getRequestName

public java.lang.String getRequestName()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getWantReply

public boolean getWantReply()
DOCUMENT ME!

Returns:
DOCUMENT ME!

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
                           throws InvalidMessageException
DOCUMENT ME!

Specified by:
constructByteArray in class SshMessage
Parameters:
baw - DOCUMENT ME!
Throws:
InvalidMessageException - DOCUMENT ME!

constructMessage

protected void constructMessage(ByteArrayReader bar)
                         throws InvalidMessageException
DOCUMENT ME!

Specified by:
constructMessage in class SshMessage
Parameters:
bar - DOCUMENT ME!
Throws:
InvalidMessageException - DOCUMENT ME!