com.jscape.inet.ssh.connection.messages
Class SshMsgChannelClose
java.lang.Object
   com.jscape.inet.ssh.transport.Message
com.jscape.inet.ssh.transport.Message
       com.jscape.inet.ssh.connection.messages.SshMsgChannelClose
com.jscape.inet.ssh.connection.messages.SshMsgChannelClose
- All Implemented Interfaces: 
- ChannelDispatchable, ConnectionDispatchable
- public class SshMsgChannelClose 
- extends Message- implements ConnectionDispatchable, ChannelDispatchable
Closing channel: SSH_MSG_CHANNEL_CLOSE
- Version:
- 1.0
- Author:
- Natalya Okhremchuk
| Field Summary | 
| static int | TYPEField TYPE
 | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
TYPE
public static final int TYPE
- Field TYPE
 
- See Also:
- Constant Field Values
 
SshMsgChannelClose
public SshMsgChannelClose(long recipientChannel)
- Parameters:
- recipientChannel-
readFrom
public static SshMsgChannelClose readFrom(java.io.InputStream in)
                                   throws java.io.IOException
- 
 
- 
- Parameters:
- in-
- Returns:
- SshMsgChannelClose instance
- Throws:
- java.io.IOException
 
writeTo
public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
- 
- Overrides:
- writeToin class- Message
 
- 
- Parameters:
- out-
- Throws:
- java.io.IOException
 
getRecipientChannel
public long getRecipientChannel()
- 
 
- 
- Returns:
- the recipientChannel long property of SshMshChannelClose instance
 
accept
public void accept(ConnectionMessageDispatcher dispatcher)
- 
- Specified by:
- acceptin interface- ConnectionDispatchable
 
- 
- Parameters:
- dispatcher-
 
accept
public void accept(ChannelMessageDispatcher dispatcher)
- 
- Specified by:
- acceptin interface- ChannelDispatchable
 
- 
- Parameters:
- dispatcher-
 
toString
public java.lang.String toString()
- Returns the string representation of this message.
 
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
- Returns:
- the string representation of this message
 
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved