Secure iNet Factory

com.jscape.inet.ssh.connection.messages
Class SshMsgChannelSuccess

java.lang.Object
  extended by com.jscape.inet.ssh.transport.Message
      extended by com.jscape.inet.ssh.connection.messages.SshMsgChannelSuccess
All Implemented Interfaces:
ChannelDispatchable, ConnectionDispatchable

public class SshMsgChannelSuccess
extends Message
implements ConnectionDispatchable, ChannelDispatchable

Request success message: SSH_MSG_CHANNEL_SUCCESS.

Version:
1.0
Author:
Natalya Okhremchuk

Field Summary
static int TYPE
          Field TYPE
 
Constructor Summary
SshMsgChannelSuccess(long recipientChannel)
           
 
Method Summary
 void accept(ChannelMessageDispatcher dispatcher)
           
 void accept(ConnectionMessageDispatcher dispatcher)
           
 long getRecipientChannel()
           
static SshMsgChannelSuccess readFrom(java.io.InputStream in)
           
 java.lang.String toString()
          Returns the string representation of this message.
 void writoTo(java.io.OutputStream out)
           
 
Methods inherited from class com.jscape.inet.ssh.transport.Message
getId, getType, readFrom, readFrom, setId, writeTo, writeTo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
Field TYPE

See Also:
Constant Field Values
Constructor Detail

SshMsgChannelSuccess

public SshMsgChannelSuccess(long recipientChannel)
Parameters:
recipientChannel -
Method Detail

readFrom

public static SshMsgChannelSuccess readFrom(java.io.InputStream in)
                                     throws java.io.IOException
Parameters:
in -
Returns:
SshMsgChannelSuccess instance
Throws:
java.io.IOException

writoTo

public void writoTo(java.io.OutputStream out)
             throws java.io.IOException
Parameters:
out -
Throws:
java.io.IOException

getRecipientChannel

public long getRecipientChannel()
Returns:
recipient channel

accept

public void accept(ConnectionMessageDispatcher dispatcher)
Specified by:
accept in interface ConnectionDispatchable
Parameters:
dispatcher -

accept

public void accept(ChannelMessageDispatcher dispatcher)
Specified by:
accept in interface ChannelDispatchable
Parameters:
dispatcher -

toString

public java.lang.String toString()
Returns the string representation of this message.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of this message

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved