com.sshtools.j2ssh.connection

Class SshMsgChannelOpenConfirmation


public class SshMsgChannelOpenConfirmation
extends SshMessage

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

Field Summary

protected static int
SSH_MSG_CHANNEL_OPEN_CONFIRMATION

Constructor Summary

SshMsgChannelOpenConfirmation()
Creates a new SshMsgChannelOpenConfirmation object.
SshMsgChannelOpenConfirmation(long recipientChannel, long senderChannel, long initialWindowSize, long maximumPacketSize, byte[] channelData)
Creates a new SshMsgChannelOpenConfirmation object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
byte[]
getChannelData()
long
getInitialWindowSize()
long
getMaximumPacketSize()
String
getMessageName()
long
getRecipientChannel()
long
getSenderChannel()

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

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

Field Details

SSH_MSG_CHANNEL_OPEN_CONFIRMATION

protected static final int SSH_MSG_CHANNEL_OPEN_CONFIRMATION
Field Value:
91

Constructor Details

SshMsgChannelOpenConfirmation

public SshMsgChannelOpenConfirmation()
Creates a new SshMsgChannelOpenConfirmation object.

SshMsgChannelOpenConfirmation

public SshMsgChannelOpenConfirmation(long recipientChannel,
                                     long senderChannel,
                                     long initialWindowSize,
                                     long maximumPacketSize,
                                     byte[] channelData)
Creates a new SshMsgChannelOpenConfirmation object.
Parameters:
recipientChannel -
senderChannel -
initialWindowSize -
maximumPacketSize -
channelData -

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 -

getChannelData

public byte[] getChannelData()
Returns:

getInitialWindowSize

public long getInitialWindowSize()
Returns:

getMaximumPacketSize

public long getMaximumPacketSize()
Returns:

getMessageName

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

getRecipientChannel

public long getRecipientChannel()
Returns:

getSenderChannel

public long getSenderChannel()
Returns:

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