com.sshtools.j2ssh.connection

Class SshMsgChannelWindowAdjust


public class SshMsgChannelWindowAdjust
extends SshMessage

Version:
$Revision: 1.20 $
Author:
$author$

Field Summary

protected static int
SSH_MSG_CHANNEL_WINDOW_ADJUST

Constructor Summary

SshMsgChannelWindowAdjust()
Creates a new SshMsgChannelWindowAdjust object.
SshMsgChannelWindowAdjust(long recipientChannel, long bytesToAdd)
Creates a new SshMsgChannelWindowAdjust object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
long
getBytesToAdd()
String
getMessageName()
long
getRecipientChannel()

Methods inherited from class com.sshtools.j2ssh.transport.SshMessage

constructByteArray, constructMessage, fromByteArray, getMessageId, getMessageId, getMessageName, toByteArray

Field Details

SSH_MSG_CHANNEL_WINDOW_ADJUST

protected static final int SSH_MSG_CHANNEL_WINDOW_ADJUST
Field Value:
93

Constructor Details

SshMsgChannelWindowAdjust

public SshMsgChannelWindowAdjust()
Creates a new SshMsgChannelWindowAdjust object.

SshMsgChannelWindowAdjust

public SshMsgChannelWindowAdjust(long recipientChannel,
                                 long bytesToAdd)
Creates a new SshMsgChannelWindowAdjust object.
Parameters:
recipientChannel -
bytesToAdd -

Method Details

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
            throws InvalidMessageException
Overrides:
constructByteArray in interface SshMessage
Parameters:
baw -

constructMessage

protected void constructMessage(ByteArrayReader bar)
            throws InvalidMessageException
Overrides:
constructMessage in interface SshMessage
Parameters:
bar -

getBytesToAdd

public long getBytesToAdd()
Returns:

getMessageName

public String getMessageName()
Overrides:
getMessageName in interface SshMessage
Returns:

getRecipientChannel

public long getRecipientChannel()
Returns:

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.