|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sshtools.j2ssh.transport.SshMessage
com.sshtools.j2ssh.connection.SshMsgChannelExtendedData
public class SshMsgChannelExtendedData
| Field Summary | |
|---|---|
static int |
SSH_EXTENDED_DATA_STDERR
|
static int |
SSH_MSG_CHANNEL_EXTENDED_DATA
|
| 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)
Message implementations should implement this method, writing the data as exected in the transport protocol message format. |
protected void |
constructMessage(ByteArrayReader bar)
Message implementation should implement this method, reading the data as expected in the transport protocol message format. |
byte[] |
getChannelData()
|
int |
getDataTypeCode()
|
java.lang.String |
getMessageName()
Returns the name of the message implementation for debugging purposes. |
long |
getRecipientChannel()
|
| 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 |
|---|
public static final int SSH_MSG_CHANNEL_EXTENDED_DATA
public static final int SSH_EXTENDED_DATA_STDERR
| Constructor Detail |
|---|
public SshMsgChannelExtendedData(long recipientChannel,
int dataTypeCode,
byte[] channelData)
recipientChannel - dataTypeCode - channelData - public SshMsgChannelExtendedData()
| Method Detail |
|---|
public byte[] getChannelData()
public int getDataTypeCode()
public java.lang.String getMessageName()
SshMessageReturns the name of the message implementation for debugging purposes.
getMessageName in class SshMessagepublic long getRecipientChannel()
protected void constructByteArray(ByteArrayWriter baw)
throws InvalidMessageException
SshMessageMessage implementations should implement this method, writing the data as exected in the transport protocol message format.
constructByteArray in class SshMessagebaw -
InvalidMessageException
protected void constructMessage(ByteArrayReader bar)
throws InvalidMessageException
SshMessageMessage implementation should implement this method, reading the data as expected in the transport protocol message format.
constructMessage in class SshMessagebar -
InvalidMessageException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||