com.sshtools.j2ssh.connection
Class SshMsgChannelExtendedData

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

public class SshMsgChannelExtendedData
extends SshMessage

DOCUMENT ME!


Field Summary
static int SSH_EXTENDED_DATA_STDERR
          DOCUMENT ME!
static int SSH_MSG_CHANNEL_EXTENDED_DATA
          DOCUMENT ME!
 
Constructor Summary
SshMsgChannelExtendedData()
          Creates a new SshMsgChannelExtendedData object.
SshMsgChannelExtendedData(long recipientChannel, int dataTypeCode, byte[] channelData)
          Creates a new SshMsgChannelExtendedData object.
 
Method Summary
protected  void constructByteArray(ByteArrayWriter baw)
          DOCUMENT ME!
protected  void constructMessage(ByteArrayReader bar)
          DOCUMENT ME!
 byte[] getChannelData()
          DOCUMENT ME!
 int getDataTypeCode()
          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_EXTENDED_DATA

public static final int SSH_MSG_CHANNEL_EXTENDED_DATA
DOCUMENT ME!

See Also:
Constant Field Values

SSH_EXTENDED_DATA_STDERR

public static final int SSH_EXTENDED_DATA_STDERR
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

SshMsgChannelExtendedData

public SshMsgChannelExtendedData(long recipientChannel,
                                 int dataTypeCode,
                                 byte[] channelData)
Creates a new SshMsgChannelExtendedData object.

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

SshMsgChannelExtendedData

public SshMsgChannelExtendedData()
Creates a new SshMsgChannelExtendedData object.

Method Detail

getChannelData

public byte[] getChannelData()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getDataTypeCode

public int getDataTypeCode()
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!