Secure iNet Factory

com.jscape.inet.ssh.transport.messages
Class SshMsgUnimplemented

java.lang.Object
  extended by com.jscape.inet.ssh.transport.Message
      extended by com.jscape.inet.ssh.transport.messages.SshMsgUnimplemented

public class SshMsgUnimplemented
extends Message

The SSH message: SSH_MSG_UNIMPLEMENTED.

Version:
1.0
Author:
Alex Usun

Field Summary
static int TYPE
          Message type code.
 
Constructor Summary
SshMsgUnimplemented(long messageNo)
          Creates a new message instance.
 
Method Summary
 long getMessageNo()
          Returns the unimplementd message #.
static SshMsgUnimplemented readFrom(java.io.InputStream in)
           
static Message readFrom(SshReader reader)
          Reads the message from the reader.
 java.lang.String toString()
          Returns the string representation of this message.
 void writeTo(java.io.OutputStream out)
           
 void writeTo(SshWriter writer)
          Writes the message to the specified writer.
 
Methods inherited from class com.jscape.inet.ssh.transport.Message
getId, getType, readFrom, readFrom, setId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static final int TYPE
Message type code.

See Also:
Constant Field Values
Constructor Detail

SshMsgUnimplemented

public SshMsgUnimplemented(long messageNo)
Creates a new message instance.

Parameters:
messageNo - the unimplementd message #
Method Detail

readFrom

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

readFrom

public static Message readFrom(SshReader reader)
                        throws java.io.IOException
Reads the message from the reader.

Parameters:
reader - the SSH types reader
Returns:
the readed message
Throws:
java.io.IOException - if an I/O error occurs

getMessageNo

public long getMessageNo()
Returns the unimplementd message #.

Returns:
unimplementd message #

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Overrides:
writeTo in class Message
Parameters:
out -
Throws:
java.io.IOException

writeTo

public void writeTo(SshWriter writer)
             throws java.io.IOException
Writes the message to the specified writer.

Overrides:
writeTo in class Message
Parameters:
writer - the SSH types writer
Throws:
java.io.IOException - if an I/O error occurs

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