com.sshtools.j2ssh.connection
Class SshMsgChannelData

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

public class SshMsgChannelData
extends SshMessage

DOCUMENT ME!


Field Summary
static int SSH_MSG_CHANNEL_DATA
          DOCUMENT ME!
 
Constructor Summary
SshMsgChannelData()
          Creates a new SshMsgChannelData object.
SshMsgChannelData(long recipientChannel, byte[] channelData)
          Creates a new SshMsgChannelData object.
 
Method Summary
protected  void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
protected  void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 byte[] getChannelData()
          DOCUMENT ME!
 long getChannelDataLength()
          DOCUMENT ME!
 java.lang.String getMessageName()
          DOCUMENT ME!
 long getRecipientChannel()
          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_CHANNEL_DATA

public static final int SSH_MSG_CHANNEL_DATA
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SshMsgChannelData

public SshMsgChannelData(long recipientChannel,
                         byte[] channelData)
Creates a new SshMsgChannelData object.

Parameters:
recipientChannel - DOCUMENT ME!
channelData - DOCUMENT ME!

SshMsgChannelData

public SshMsgChannelData()
Creates a new SshMsgChannelData object.

Method Detail

getChannelData

public byte[] getChannelData()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getChannelDataLength

public long getChannelDataLength()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getMessageName

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

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

getRecipientChannel

public long getRecipientChannel()
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!