com.sshtools.j2ssh.connection

Class SshMsgChannelSuccess


public class SshMsgChannelSuccess
extends SshMessage

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

Field Summary

protected static int
SSH_MSG_CHANNEL_SUCCESS

Constructor Summary

SshMsgChannelSuccess()
Creates a new SshMsgChannelSuccess object.
SshMsgChannelSuccess(long recipientChannelId)
Creates a new SshMsgChannelSuccess object.

Method Summary

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

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

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

Field Details

SSH_MSG_CHANNEL_SUCCESS

protected static final int SSH_MSG_CHANNEL_SUCCESS
Field Value:
99

Constructor Details

SshMsgChannelSuccess

public SshMsgChannelSuccess()
Creates a new SshMsgChannelSuccess object.

SshMsgChannelSuccess

public SshMsgChannelSuccess(long recipientChannelId)
Creates a new SshMsgChannelSuccess object.
Parameters:
recipientChannelId -

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 -

getChannelId

public long getChannelId()
Returns:

getMessageName

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

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