|
||||||||||
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.SshMsgChannelWindowAdjust
Implements the SSH_MSG_CHANNEL_WINDOW_ADJUST message.
Field Summary | |
protected static int |
SSH_MSG_CHANNEL_WINDOW_ADJUST
The message id |
Constructor Summary | |
SshMsgChannelWindowAdjust()
Constructor for the SshMsgChannelWindowAdjust object |
|
SshMsgChannelWindowAdjust(long recipientChannel,
long bytesToAdd)
Constructor for the SshMsgChannelWindowAdjust 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. |
long |
getBytesToAdd()
Gets the number of bytes to add to the window space |
java.lang.String |
getMessageName()
Gets the message name for debugging |
long |
getRecipientChannel()
Gets the recipient channel id |
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_WINDOW_ADJUST
Constructor Detail |
public SshMsgChannelWindowAdjust(long recipientChannel, long bytesToAdd)
recipientChannel
- The recipient channel idbytesToAdd
- The number of bytes to add to the window spacepublic SshMsgChannelWindowAdjust()
Method Detail |
public java.lang.String getMessageName()
getMessageName
in class SshMessage
public long getRecipientChannel()
public long getBytesToAdd()
protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
constructMessage
in class SshMessage
bar
- The byte array being read
InvalidMessageException
- Thrown if the data cannot be readprotected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
constructByteArray
in class SshMessage
baw
- The byte array being written to
InvalidMessageException
- Thrown if the data cannot be written
Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |