Package net.schmizz.sshj.common
Enum Class Message
- All Implemented Interfaces:
Serializable
,Comparable<Message>
,Constable
SSH message identifiers
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription{ KEXDH_REPLY, KEXDH_GEX_GROUP, SSH_MSG_KEX_ECDH_REPLY }{ USERAUTH_PASSWD_CHANGREQ, USERAUTH_PK_OK, USERAUTH_INFO_REQUEST } -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Message
fromByte
(byte b) boolean
geq
(int num) boolean
gt
(int num) boolean
in
(int x, int y) boolean
leq
(int num) boolean
lt
(int num) byte
toByte()
static Message
Returns the enum constant of this class with the specified name.static Message[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
DISCONNECT
-
IGNORE
-
UNIMPLEMENTED
-
DEBUG
-
SERVICE_REQUEST
-
SERVICE_ACCEPT
-
EXT_INFO
-
KEXINIT
-
NEWKEYS
-
KEXDH_INIT
-
KEXDH_31
{ KEXDH_REPLY, KEXDH_GEX_GROUP, SSH_MSG_KEX_ECDH_REPLY } -
KEX_DH_GEX_INIT
-
KEX_DH_GEX_REPLY
-
KEX_DH_GEX_REQUEST
-
USERAUTH_REQUEST
-
USERAUTH_FAILURE
-
USERAUTH_SUCCESS
-
USERAUTH_BANNER
-
USERAUTH_60
{ USERAUTH_PASSWD_CHANGREQ, USERAUTH_PK_OK, USERAUTH_INFO_REQUEST } -
USERAUTH_INFO_RESPONSE
-
USERAUTH_GSSAPI_EXCHANGE_COMPLETE
-
USERAUTH_GSSAPI_MIC
-
GLOBAL_REQUEST
-
REQUEST_SUCCESS
-
REQUEST_FAILURE
-
CHANNEL_OPEN
-
CHANNEL_OPEN_CONFIRMATION
-
CHANNEL_OPEN_FAILURE
-
CHANNEL_WINDOW_ADJUST
-
CHANNEL_DATA
-
CHANNEL_EXTENDED_DATA
-
CHANNEL_EOF
-
CHANNEL_CLOSE
-
CHANNEL_REQUEST
-
CHANNEL_SUCCESS
-
CHANNEL_FAILURE
-
-
Field Details
-
b
private final byte b -
cache
-
-
Constructor Details
-
Message
private Message(int b)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromByte
-
geq
public boolean geq(int num) -
gt
public boolean gt(int num) -
in
public boolean in(int x, int y) -
leq
public boolean leq(int num) -
lt
public boolean lt(int num) -
toByte
public byte toByte()
-