com.sshtools.j2ssh.connection
Class SshMsgChannelEOF

java.lang.Object
  |
  +--com.sshtools.j2ssh.transport.SshMessage
        |
        +--com.sshtools.j2ssh.connection.SshMsgChannelEOF

public class SshMsgChannelEOF
extends SshMessage

Implements the SSH_MSG_CHANNEL_EOF message.

Version:
1.0
Author:
Lee David Painter ( lee@sshtools.com )

Field Summary
protected static int SSH_MSG_CHANNEL_EOF
          The message id
 
Constructor Summary
SshMsgChannelEOF()
          Constructor for the SshMsgChannelEOF object
SshMsgChannelEOF(long recipientChannel)
          Constructor for the SshMsgChannelEOF object
 
Method Summary
protected  void constructByteArray(ByteArrayWriter baw)
          Description of the Method
protected  void constructMessage(ByteArrayReader bar)
          Description of the Method
 java.lang.String getMessageName()
          Gets the messageName attribute of the SshMsgChannelEOF object
 long getRecipientChannel()
          Gets the recipient channel id
 
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage
fromByteArray, getMessageId, toByteArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSH_MSG_CHANNEL_EOF

protected static final int SSH_MSG_CHANNEL_EOF
The message id

See Also:
Constant Field Values
Constructor Detail

SshMsgChannelEOF

public SshMsgChannelEOF(long recipientChannel)
Constructor for the SshMsgChannelEOF object

Parameters:
recipientChannel - The recipients channel id

SshMsgChannelEOF

public SshMsgChannelEOF()
Constructor for the SshMsgChannelEOF object

Method Detail

getRecipientChannel

public long getRecipientChannel()
Gets the recipient channel id

Returns:
The recipients channel id

getMessageName

public java.lang.String getMessageName()
Gets the messageName attribute of the SshMsgChannelEOF object

Specified by:
getMessageName in class SshMessage
Returns:
The messageName value

constructMessage

protected void constructMessage(ByteArrayReader bar)
                         throws InvalidMessageException
Description of the Method

Specified by:
constructMessage in class SshMessage
Parameters:
bar - Description of the Parameter
Throws:
InvalidMessageException - Description of the Exception

constructByteArray

protected void constructByteArray(ByteArrayWriter baw)
                           throws InvalidMessageException
Description of the Method

Specified by:
constructByteArray in class SshMessage
Parameters:
baw - Description of the Parameter
Throws:
InvalidMessageException - Description of the Exception


Copyright © 2002 Sshtools.com. All Rights Reserved.