|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.j2ssh.transport.SshMessage
com.sshtools.j2ssh.transport.SshMsgDisconnect
public class SshMsgDisconnect
Field Summary | |
---|---|
static int |
AUTH_CANCELLED_BY_USER
|
static int |
BY_APPLICATION
|
static int |
COMPRESSION_ERROR
|
static int |
CONNECTION_LOST
|
static int |
HOST_KEY_NOT_VERIFIABLE
|
static int |
HOST_NOT_ALLOWED
|
static int |
ILLEGAL_USER_NAME
|
static int |
KEY_EXCHANGE_FAILED
|
static int |
MAC_ERROR
|
static int |
NO_MORE_AUTH_METHODS_AVAILABLE
|
static int |
PROTOCOL_ERROR
|
static int |
PROTOCOL_VERSION_NOT_SUPPORTED
|
static int |
RESERVED
|
static int |
SERVICE_NOT_AVAILABLE
|
protected static int |
SSH_MSG_DISCONNECT
|
static int |
TOO_MANY_CONNECTIONS
|
Constructor Summary | |
---|---|
SshMsgDisconnect()
Creates a new SshMsgDisconnect object. |
|
SshMsgDisconnect(int reasonCode,
java.lang.String desc,
java.lang.String langTag)
Creates a new SshMsgDisconnect object. |
Method Summary | |
---|---|
protected void |
constructByteArray(ByteArrayWriter baw)
Message implementations should implement this method, writing the data as exected in the transport protocol message format. |
protected void |
constructMessage(ByteArrayReader bar)
Message implementation should implement this method, reading the data as expected in the transport protocol message format. |
java.lang.String |
getDescription()
|
java.lang.String |
getLanguageTag()
|
java.lang.String |
getMessageName()
Returns the name of the message implementation for debugging purposes. |
int |
getReasonCode()
|
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage |
---|
fromByteArray, getMessageId, getMessageId, toByteArray |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int SSH_MSG_DISCONNECT
public static final int HOST_NOT_ALLOWED
public static final int PROTOCOL_ERROR
public static final int KEY_EXCHANGE_FAILED
public static final int RESERVED
public static final int MAC_ERROR
public static final int COMPRESSION_ERROR
public static final int SERVICE_NOT_AVAILABLE
public static final int PROTOCOL_VERSION_NOT_SUPPORTED
public static final int HOST_KEY_NOT_VERIFIABLE
public static final int CONNECTION_LOST
public static final int BY_APPLICATION
public static final int TOO_MANY_CONNECTIONS
public static final int AUTH_CANCELLED_BY_USER
public static final int NO_MORE_AUTH_METHODS_AVAILABLE
public static final int ILLEGAL_USER_NAME
Constructor Detail |
---|
public SshMsgDisconnect(int reasonCode, java.lang.String desc, java.lang.String langTag)
reasonCode
- desc
- langTag
- public SshMsgDisconnect()
Method Detail |
---|
public java.lang.String getDescription()
public java.lang.String getLanguageTag()
public java.lang.String getMessageName()
SshMessage
Returns the name of the message implementation for debugging purposes.
getMessageName
in class SshMessage
public int getReasonCode()
protected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
SshMessage
Message implementations should implement this method, writing the data as exected in the transport protocol message format.
constructByteArray
in class SshMessage
baw
-
InvalidMessageException
protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
SshMessage
Message implementation should implement this method, reading the data as expected in the transport protocol message format.
constructMessage
in class SshMessage
bar
-
InvalidMessageException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |