public class

Packets

extends Object
java.lang.Object
   ↳ com.trilead.ssh2.packets.Packets

Class Overview

Packets.

Summary

Constants
int SSH_DISCONNECT_AUTH_CANCELLED_BY_USER
int SSH_DISCONNECT_BY_APPLICATION
int SSH_DISCONNECT_COMPRESSION_ERROR
int SSH_DISCONNECT_CONNECTION_LOST
int SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE
int SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT
int SSH_DISCONNECT_ILLEGAL_USER_NAME
int SSH_DISCONNECT_KEY_EXCHANGE_FAILED
int SSH_DISCONNECT_MAC_ERROR
int SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE
int SSH_DISCONNECT_PROTOCOL_ERROR
int SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED
int SSH_DISCONNECT_RESERVED
int SSH_DISCONNECT_SERVICE_NOT_AVAILABLE
int SSH_DISCONNECT_TOO_MANY_CONNECTIONS
int SSH_EXTENDED_DATA_STDERR
int SSH_MSG_CHANNEL_CLOSE
int SSH_MSG_CHANNEL_DATA
int SSH_MSG_CHANNEL_EOF
int SSH_MSG_CHANNEL_EXTENDED_DATA
int SSH_MSG_CHANNEL_FAILURE
int SSH_MSG_CHANNEL_OPEN
int SSH_MSG_CHANNEL_OPEN_CONFIRMATION
int SSH_MSG_CHANNEL_OPEN_FAILURE
int SSH_MSG_CHANNEL_REQUEST
int SSH_MSG_CHANNEL_SUCCESS
int SSH_MSG_CHANNEL_WINDOW_ADJUST
int SSH_MSG_DEBUG
int SSH_MSG_DISCONNECT
int SSH_MSG_GLOBAL_REQUEST
int SSH_MSG_IGNORE
int SSH_MSG_KEXDH_INIT
int SSH_MSG_KEXDH_REPLY
int SSH_MSG_KEXINIT
int SSH_MSG_KEX_DH_GEX_GROUP
int SSH_MSG_KEX_DH_GEX_INIT
int SSH_MSG_KEX_DH_GEX_REPLY
int SSH_MSG_KEX_DH_GEX_REQUEST
int SSH_MSG_KEX_DH_GEX_REQUEST_OLD
int SSH_MSG_NEWKEYS
int SSH_MSG_REQUEST_FAILURE
int SSH_MSG_REQUEST_SUCCESS
int SSH_MSG_SERVICE_ACCEPT
int SSH_MSG_SERVICE_REQUEST
int SSH_MSG_UNIMPLEMENTED
int SSH_MSG_USERAUTH_BANNER
int SSH_MSG_USERAUTH_FAILURE
int SSH_MSG_USERAUTH_INFO_REQUEST
int SSH_MSG_USERAUTH_INFO_RESPONSE
int SSH_MSG_USERAUTH_PK_OK
int SSH_MSG_USERAUTH_REQUEST
int SSH_MSG_USERAUTH_SUCCESS
int SSH_OPEN_ADMINISTRATIVELY_PROHIBITED
int SSH_OPEN_CONNECT_FAILED
int SSH_OPEN_RESOURCE_SHORTAGE
int SSH_OPEN_UNKNOWN_CHANNEL_TYPE
Fields
private static final String[] reverseNames
Public Constructors
Packets()
Public Methods
final static String getMessageName(int type)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int SSH_DISCONNECT_AUTH_CANCELLED_BY_USER

Constant Value: 13 (0x0000000d)

public static final int SSH_DISCONNECT_BY_APPLICATION

Constant Value: 11 (0x0000000b)

public static final int SSH_DISCONNECT_COMPRESSION_ERROR

Constant Value: 6 (0x00000006)

public static final int SSH_DISCONNECT_CONNECTION_LOST

Constant Value: 10 (0x0000000a)

public static final int SSH_DISCONNECT_HOST_KEY_NOT_VERIFIABLE

Constant Value: 9 (0x00000009)

public static final int SSH_DISCONNECT_HOST_NOT_ALLOWED_TO_CONNECT

Constant Value: 1 (0x00000001)

public static final int SSH_DISCONNECT_ILLEGAL_USER_NAME

Constant Value: 15 (0x0000000f)

public static final int SSH_DISCONNECT_KEY_EXCHANGE_FAILED

Constant Value: 3 (0x00000003)

public static final int SSH_DISCONNECT_MAC_ERROR

Constant Value: 5 (0x00000005)

public static final int SSH_DISCONNECT_NO_MORE_AUTH_METHODS_AVAILABLE

Constant Value: 14 (0x0000000e)

public static final int SSH_DISCONNECT_PROTOCOL_ERROR

Constant Value: 2 (0x00000002)

public static final int SSH_DISCONNECT_PROTOCOL_VERSION_NOT_SUPPORTED

Constant Value: 8 (0x00000008)

public static final int SSH_DISCONNECT_RESERVED

Constant Value: 4 (0x00000004)

public static final int SSH_DISCONNECT_SERVICE_NOT_AVAILABLE

Constant Value: 7 (0x00000007)

public static final int SSH_DISCONNECT_TOO_MANY_CONNECTIONS

Constant Value: 12 (0x0000000c)

public static final int SSH_EXTENDED_DATA_STDERR

Constant Value: 1 (0x00000001)

public static final int SSH_MSG_CHANNEL_CLOSE

Constant Value: 97 (0x00000061)

public static final int SSH_MSG_CHANNEL_DATA

Constant Value: 94 (0x0000005e)

public static final int SSH_MSG_CHANNEL_EOF

Constant Value: 96 (0x00000060)

public static final int SSH_MSG_CHANNEL_EXTENDED_DATA

Constant Value: 95 (0x0000005f)

public static final int SSH_MSG_CHANNEL_FAILURE

Constant Value: 100 (0x00000064)

public static final int SSH_MSG_CHANNEL_OPEN

Constant Value: 90 (0x0000005a)

public static final int SSH_MSG_CHANNEL_OPEN_CONFIRMATION

Constant Value: 91 (0x0000005b)

public static final int SSH_MSG_CHANNEL_OPEN_FAILURE

Constant Value: 92 (0x0000005c)

public static final int SSH_MSG_CHANNEL_REQUEST

Constant Value: 98 (0x00000062)

public static final int SSH_MSG_CHANNEL_SUCCESS

Constant Value: 99 (0x00000063)

public static final int SSH_MSG_CHANNEL_WINDOW_ADJUST

Constant Value: 93 (0x0000005d)

public static final int SSH_MSG_DEBUG

Constant Value: 4 (0x00000004)

public static final int SSH_MSG_DISCONNECT

Constant Value: 1 (0x00000001)

public static final int SSH_MSG_GLOBAL_REQUEST

Constant Value: 80 (0x00000050)

public static final int SSH_MSG_IGNORE

Constant Value: 2 (0x00000002)

public static final int SSH_MSG_KEXDH_INIT

Constant Value: 30 (0x0000001e)

public static final int SSH_MSG_KEXDH_REPLY

Constant Value: 31 (0x0000001f)

public static final int SSH_MSG_KEXINIT

Constant Value: 20 (0x00000014)

public static final int SSH_MSG_KEX_DH_GEX_GROUP

Constant Value: 31 (0x0000001f)

public static final int SSH_MSG_KEX_DH_GEX_INIT

Constant Value: 32 (0x00000020)

public static final int SSH_MSG_KEX_DH_GEX_REPLY

Constant Value: 33 (0x00000021)

public static final int SSH_MSG_KEX_DH_GEX_REQUEST

Constant Value: 34 (0x00000022)

public static final int SSH_MSG_KEX_DH_GEX_REQUEST_OLD

Constant Value: 30 (0x0000001e)

public static final int SSH_MSG_NEWKEYS

Constant Value: 21 (0x00000015)

public static final int SSH_MSG_REQUEST_FAILURE

Constant Value: 82 (0x00000052)

public static final int SSH_MSG_REQUEST_SUCCESS

Constant Value: 81 (0x00000051)

public static final int SSH_MSG_SERVICE_ACCEPT

Constant Value: 6 (0x00000006)

public static final int SSH_MSG_SERVICE_REQUEST

Constant Value: 5 (0x00000005)

public static final int SSH_MSG_UNIMPLEMENTED

Constant Value: 3 (0x00000003)

public static final int SSH_MSG_USERAUTH_BANNER

Constant Value: 53 (0x00000035)

public static final int SSH_MSG_USERAUTH_FAILURE

Constant Value: 51 (0x00000033)

public static final int SSH_MSG_USERAUTH_INFO_REQUEST

Constant Value: 60 (0x0000003c)

public static final int SSH_MSG_USERAUTH_INFO_RESPONSE

Constant Value: 61 (0x0000003d)

public static final int SSH_MSG_USERAUTH_PK_OK

Constant Value: 60 (0x0000003c)

public static final int SSH_MSG_USERAUTH_REQUEST

Constant Value: 50 (0x00000032)

public static final int SSH_MSG_USERAUTH_SUCCESS

Constant Value: 52 (0x00000034)

public static final int SSH_OPEN_ADMINISTRATIVELY_PROHIBITED

Constant Value: 1 (0x00000001)

public static final int SSH_OPEN_CONNECT_FAILED

Constant Value: 2 (0x00000002)

public static final int SSH_OPEN_RESOURCE_SHORTAGE

Constant Value: 4 (0x00000004)

public static final int SSH_OPEN_UNKNOWN_CHANNEL_TYPE

Constant Value: 3 (0x00000003)

Fields

private static final String[] reverseNames

Public Constructors

public Packets ()

Public Methods

public static final String getMessageName (int type)

Parameters
type