Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
com.sshtools.j2ssh.transport.SshMessage
com.sshtools.j2ssh.transport.SshMsgDisconnect
public class SshMsgDisconnect
extends SshMessage
Field Summary | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
static int | |
protected static int | |
static int |
Constructor Summary | |
| |
|
Method Summary | |
protected void | |
protected void | |
String | |
String | |
String | |
int |
Methods inherited from class com.sshtools.j2ssh.transport.SshMessage | |
constructByteArray , constructMessage , fromByteArray , getMessageId , getMessageId , getMessageName , toByteArray |
public static final int AUTH_CANCELLED_BY_USER
- Field Value:
- 13
public static final int BY_APPLICATION
- Field Value:
- 11
public static final int COMPRESSION_ERROR
- Field Value:
- 6
public static final int CONNECTION_LOST
- Field Value:
- 10
public static final int HOST_KEY_NOT_VERIFIABLE
- Field Value:
- 9
public static final int HOST_NOT_ALLOWED
- Field Value:
- 1
public static final int ILLEGAL_USER_NAME
- Field Value:
- 15
public static final int KEY_EXCHANGE_FAILED
- Field Value:
- 3
public static final int MAC_ERROR
- Field Value:
- 5
public static final int NO_MORE_AUTH_METHODS_AVAILABLE
- Field Value:
- 14
public static final int PROTOCOL_ERROR
- Field Value:
- 2
public static final int PROTOCOL_VERSION_NOT_SUPPORTED
- Field Value:
- 8
public static final int RESERVED
- Field Value:
- 4
public static final int SERVICE_NOT_AVAILABLE
- Field Value:
- 7
protected static final int SSH_MSG_DISCONNECT
- Field Value:
- 1
public static final int TOO_MANY_CONNECTIONS
- Field Value:
- 12
public SshMsgDisconnect()
Creates a new SshMsgDisconnect object.
public SshMsgDisconnect(int reasonCode, String desc, String langTag)
Creates a new SshMsgDisconnect object.
- Parameters:
reasonCode
-desc
-langTag
-
protected void constructByteArray(ByteArrayWriter baw) throws InvalidMessageException
- Overrides:
- constructByteArray in interface SshMessage
- Parameters:
baw
-
- Throws:
InvalidMessageException
-
protected void constructMessage(ByteArrayReader bar) throws InvalidMessageException
- Overrides:
- constructMessage in interface SshMessage
- Parameters:
bar
-
- Throws:
InvalidMessageException
-
public String getDescription()
- Returns:
public String getLanguageTag()
- Returns:
public String getMessageName()
- Overrides:
- getMessageName in interface SshMessage
- Returns:
public int getReasonCode()
- Returns: