com.sshtools.j2ssh.connection

Class SshMsgChannelFailure


public class SshMsgChannelFailure
extends SshMessage

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

Field Summary

protected static int
SSH_MSG_CHANNEL_FAILURE

Constructor Summary

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

Method Summary

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

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

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

Field Details

SSH_MSG_CHANNEL_FAILURE

protected static final int SSH_MSG_CHANNEL_FAILURE
Field Value:
100

Constructor Details

SshMsgChannelFailure

public SshMsgChannelFailure()
Creates a new SshMsgChannelFailure object.

SshMsgChannelFailure

public SshMsgChannelFailure(long recipientChannelId)
Creates a new SshMsgChannelFailure 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 -

getMessageName

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

getRecipientChannelId

public long getRecipientChannelId()
Returns:

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