|
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.SshMsgServiceAccept
public class SshMsgServiceAccept
Service accept message: SSH_MSG_SERVICE_ACCEPT.
Field Summary | |
---|---|
static int |
TYPE
Message type code. |
Constructor Summary | |
---|---|
SshMsgServiceAccept(java.lang.String serviceName)
Creates a new message instance. |
Method Summary | |
---|---|
java.lang.String |
getServiceName()
Returns the accepted service name. |
static SshMsgServiceAccept |
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 |
---|
public static final int TYPE
Constructor Detail |
---|
public SshMsgServiceAccept(java.lang.String serviceName)
serviceName
- the service nameMethod Detail |
---|
public static SshMsgServiceAccept readFrom(java.io.InputStream in)
in
-
public static Message readFrom(SshReader reader)
reader
- the SSH types reader
public java.lang.String getServiceName()
public void writeTo(java.io.OutputStream out) throws java.io.IOException
writeTo
in class Message
out
-
java.io.IOException
public void writeTo(SshWriter writer) throws java.io.IOException
writeTo
in class Message
writer
- the SSH types writer
java.io.IOException
- if an I/O error occurspublic 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 |