com.sshtools.j2ssh.connection

Class SshMsgChannelClose


public class SshMsgChannelClose
extends SshMessage

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

Field Summary

protected static int
SSH_MSG_CHANNEL_CLOSE

Constructor Summary

SshMsgChannelClose()
Creates a new SshMsgChannelClose object.
SshMsgChannelClose(long recipientChannel)
Creates a new SshMsgChannelClose object.

Method Summary

protected void
constructByteArray(ByteArrayWriter baw)
protected void
constructMessage(ByteArrayReader bar)
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_CLOSE

protected static final int SSH_MSG_CHANNEL_CLOSE
Field Value:
97

Constructor Details

SshMsgChannelClose

public SshMsgChannelClose()
Creates a new SshMsgChannelClose object.

SshMsgChannelClose

public SshMsgChannelClose(long recipientChannel)
Creates a new SshMsgChannelClose object.
Parameters:
recipientChannel -

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 -

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.