|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.sshtools.j2ssh.transport.SshMessage
|
+--com.sshtools.j2ssh.connection.SshMsgChannelRequest
Implements the SSH_MSG_CHANNEL_REQUEST message.
| Field Summary | |
protected static int |
SSH_MSG_CHANNEL_REQUEST
The message id |
| Constructor Summary | |
SshMsgChannelRequest()
Constructor for the SshMsgChannelRequest object |
|
SshMsgChannelRequest(long recipientChannel,
java.lang.String requestType,
boolean wantReply,
byte[] channelData)
Constructor for the SshMsgChannelRequest object |
|
| Method Summary | |
protected void |
constructByteArray(ByteArrayWriter baw)
Abstract method implementation to construct a byte array containing the message data. |
protected void |
constructMessage(ByteArrayReader bar)
Abstract method implementation to construct the message from a byte array. |
byte[] |
getChannelData()
Gets the channel request specific data |
java.lang.String |
getMessageName()
Gets the message name for debugging |
long |
getRecipientChannel()
Gets the recipient channel id |
java.lang.String |
getRequestType()
Gets the request type |
boolean |
getWantReply()
Indicates whether the sender wants an explicit reply |
| Methods inherited from class com.sshtools.j2ssh.transport.SshMessage |
fromByteArray, getMessageId, toByteArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final int SSH_MSG_CHANNEL_REQUEST
| Constructor Detail |
public SshMsgChannelRequest(long recipientChannel,
java.lang.String requestType,
boolean wantReply,
byte[] channelData)
recipientChannel - The recipient channel idrequestType - The channel request typewantReply - True if you want the remote side to replychannelData - The channel request specific datapublic SshMsgChannelRequest()
| Method Detail |
public java.lang.String getMessageName()
getMessageName in class SshMessagepublic long getRecipientChannel()
public java.lang.String getRequestType()
public boolean getWantReply()
public byte[] getChannelData()
protected void constructMessage(ByteArrayReader bar)
throws InvalidMessageException
constructMessage in class SshMessagebar - The byte
array being read
InvalidMessageException - Description of the Exception
protected void constructByteArray(ByteArrayWriter baw)
throws InvalidMessageException
constructByteArray in class SshMessagebaw - The byte
array being written
InvalidMessageException - Description of the Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||