|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jscape.inet.ssh.transport.Message
com.jscape.inet.ssh.transport.messages.SshMsgUnknown
public class SshMsgUnknown
| Constructor Summary | |
|---|---|
SshMsgUnknown(int type,
byte[] data)
Creates a new message instance. |
|
| Method Summary | |
|---|---|
boolean |
accept(TransportMessageDispatcher dispatcher)
Calls an appropriate dispatcher method. |
byte[] |
getData()
Returns the message data. |
java.lang.String |
toString()
Returns the string representation of this message. |
void |
writeTo(java.io.OutputStream out)
Method writeTo |
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 |
| Constructor Detail |
|---|
public SshMsgUnknown(int type,
byte[] data)
data - the message data| Method Detail |
|---|
public byte[] getData()
public void writeTo(java.io.OutputStream out)
throws java.io.IOException
writeTo in class Messagejava.io.IOExceptionMessage.writeTo(OutputStream)
public void writeTo(SshWriter writer)
throws java.io.IOException
writeTo in class Messagewriter - the SSH types writer
java.io.IOException - if an I/O error occurspublic boolean accept(TransportMessageDispatcher dispatcher)
accept in interface TransportDispatchabledispatcher - the message dispatcher
true if dispatcher can dispatch this message;
false otherwisepublic java.lang.String toString()
toString in class java.lang.Object
|
Secure iNet Factory | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||