| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.transport.SshMessagecom.sshtools.j2ssh.connection.SshMsgChannelOpenConfirmationpublic class SshMsgChannelOpenConfirmationextends SshMessageField Summary | |
protected static int | |
Constructor Summary | |
| |
| |
Method Summary | |
protected void | |
protected void | |
byte[] | |
long | |
long | |
String | |
long | |
long | |
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage | |
constructByteArray, constructMessage, fromByteArray, getMessageId, getMessageId, getMessageName, toByteArray | |
protected static final int SSH_MSG_CHANNEL_OPEN_CONFIRMATION
- Field Value:
- 91
public SshMsgChannelOpenConfirmation()
Creates a new SshMsgChannelOpenConfirmation object.
public SshMsgChannelOpenConfirmation(long recipientChannel,
long senderChannel,
long initialWindowSize,
long maximumPacketSize,
byte[] channelData)Creates a new SshMsgChannelOpenConfirmation object.
- Parameters:
recipientChannel-senderChannel-initialWindowSize-maximumPacketSize-channelData-
protected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
- Overrides:
- constructByteArray in interface SshMessage
- Parameters:
baw-
- Throws:
InvalidMessageException-
protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
- Overrides:
- constructMessage in interface SshMessage
- Parameters:
bar-
- Throws:
InvalidMessageException-
public byte[] getChannelData()
- Returns:
public long getInitialWindowSize()
- Returns:
public long getMaximumPacketSize()
- Returns:
public String getMessageName()
- Overrides:
- getMessageName in interface SshMessage
- Returns:
public long getRecipientChannel()
- Returns:
public long getSenderChannel()
- Returns: