Class Ssh2MessageNumber
java.lang.Object
org.pcap4j.packet.namednumber.NamedNumber<Byte, Ssh2MessageNumber>
org.pcap4j.packet.namednumber.Ssh2MessageNumber
- All Implemented Interfaces:
Serializable, Comparable<Ssh2MessageNumber>
SSH2 Message Number
- Since:
- pcap4j 1.0.1
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Map<Byte, Ssh2MessageNumber> private static final longstatic final Ssh2MessageNumberSSH_MSG_CHANNEL_CLOSE: 97static final Ssh2MessageNumberSSH_MSG_CHANNEL_DATA: 94static final Ssh2MessageNumberSSH_MSG_CHANNEL_EOF: 96static final Ssh2MessageNumberSSH_MSG_CHANNEL_EXTENDED_DATA: 95static final Ssh2MessageNumberSSH_MSG_CHANNEL_FAILURE: 100static final Ssh2MessageNumberSSH_MSG_CHANNEL_OPEN: 90static final Ssh2MessageNumberSSH_MSG_CHANNEL_OPEN_CONFIRMATION: 91static final Ssh2MessageNumberSSH_MSG_CHANNEL_OPEN_FAILURE: 92static final Ssh2MessageNumberSSH_MSG_CHANNEL_REQUEST: 98static final Ssh2MessageNumberSSH_MSG_CHANNEL_SUCCESS: 99static final Ssh2MessageNumberSSH_MSG_CHANNEL_WINDOW_ADJUST: 93static final Ssh2MessageNumberSSH_MSG_DEBUG: 4static final Ssh2MessageNumberSSH_MSG_DISCONNECT: 1static final Ssh2MessageNumberSSH_MSG_GLOBAL_REQUEST: 80static final Ssh2MessageNumberSSH_MSG_IGNORE: 2static final Ssh2MessageNumberSSH_MSG_KEXDH_INIT: 30static final Ssh2MessageNumberSSH_MSG_KEXDH_REPLY: 31static final Ssh2MessageNumberSSH_MSG_KEXINIT: 20static final Ssh2MessageNumberSSH_MSG_NEWKEYS: 21static final Ssh2MessageNumberSSH_MSG_REQUEST_FAILURE: 82static final Ssh2MessageNumberSSH_MSG_REQUEST_SUCCESS: 81static final Ssh2MessageNumberSSH_MSG_SERVICE_ACCEPT: 6static final Ssh2MessageNumberSSH_MSG_SERVICE_REQUEST: 5static final Ssh2MessageNumberSSH_MSG_UNIMPLEMENTED: 3static final Ssh2MessageNumberSSH_MSG_USERAUTH_BANNER: 53static final Ssh2MessageNumberSSH_MSG_USERAUTH_FAILURE: 51static final Ssh2MessageNumberSSH_MSG_USERAUTH_INFO_REQUEST: 60static final Ssh2MessageNumberSSH_MSG_USERAUTH_INFO_RESPONSE: 61static final Ssh2MessageNumberSSH_MSG_USERAUTH_REQUEST: 50static final Ssh2MessageNumberSSH_MSG_USERAUTH_SUCCESS: 52 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic Ssh2MessageNumbergetInstance(Byte value) static Ssh2MessageNumberregister(Ssh2MessageNumber number)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
SSH_MSG_DISCONNECT
SSH_MSG_DISCONNECT: 1 -
SSH_MSG_IGNORE
SSH_MSG_IGNORE: 2 -
SSH_MSG_UNIMPLEMENTED
SSH_MSG_UNIMPLEMENTED: 3 -
SSH_MSG_DEBUG
SSH_MSG_DEBUG: 4 -
SSH_MSG_SERVICE_REQUEST
SSH_MSG_SERVICE_REQUEST: 5 -
SSH_MSG_SERVICE_ACCEPT
SSH_MSG_SERVICE_ACCEPT: 6 -
SSH_MSG_KEXINIT
SSH_MSG_KEXINIT: 20 -
SSH_MSG_NEWKEYS
SSH_MSG_NEWKEYS: 21 -
SSH_MSG_KEXDH_INIT
SSH_MSG_KEXDH_INIT: 30 -
SSH_MSG_KEXDH_REPLY
SSH_MSG_KEXDH_REPLY: 31 -
SSH_MSG_USERAUTH_REQUEST
SSH_MSG_USERAUTH_REQUEST: 50 -
SSH_MSG_USERAUTH_FAILURE
SSH_MSG_USERAUTH_FAILURE: 51 -
SSH_MSG_USERAUTH_SUCCESS
SSH_MSG_USERAUTH_SUCCESS: 52 -
SSH_MSG_USERAUTH_BANNER
SSH_MSG_USERAUTH_BANNER: 53 -
SSH_MSG_USERAUTH_INFO_REQUEST
SSH_MSG_USERAUTH_INFO_REQUEST: 60 -
SSH_MSG_USERAUTH_INFO_RESPONSE
SSH_MSG_USERAUTH_INFO_RESPONSE: 61 -
SSH_MSG_GLOBAL_REQUEST
SSH_MSG_GLOBAL_REQUEST: 80 -
SSH_MSG_REQUEST_SUCCESS
SSH_MSG_REQUEST_SUCCESS: 81 -
SSH_MSG_REQUEST_FAILURE
SSH_MSG_REQUEST_FAILURE: 82 -
SSH_MSG_CHANNEL_OPEN
SSH_MSG_CHANNEL_OPEN: 90 -
SSH_MSG_CHANNEL_OPEN_CONFIRMATION
SSH_MSG_CHANNEL_OPEN_CONFIRMATION: 91 -
SSH_MSG_CHANNEL_OPEN_FAILURE
SSH_MSG_CHANNEL_OPEN_FAILURE: 92 -
SSH_MSG_CHANNEL_WINDOW_ADJUST
SSH_MSG_CHANNEL_WINDOW_ADJUST: 93 -
SSH_MSG_CHANNEL_DATA
SSH_MSG_CHANNEL_DATA: 94 -
SSH_MSG_CHANNEL_EXTENDED_DATA
SSH_MSG_CHANNEL_EXTENDED_DATA: 95 -
SSH_MSG_CHANNEL_EOF
SSH_MSG_CHANNEL_EOF: 96 -
SSH_MSG_CHANNEL_CLOSE
SSH_MSG_CHANNEL_CLOSE: 97 -
SSH_MSG_CHANNEL_REQUEST
SSH_MSG_CHANNEL_REQUEST: 98 -
SSH_MSG_CHANNEL_SUCCESS
SSH_MSG_CHANNEL_SUCCESS: 99 -
SSH_MSG_CHANNEL_FAILURE
SSH_MSG_CHANNEL_FAILURE: 100 -
registry
-
-
Constructor Details
-
Ssh2MessageNumber
-
-
Method Details
-
getInstance
- Parameters:
value- value- Returns:
- a Ssh2MessageNumber object.
-
register
- Parameters:
number- number- Returns:
- a Ssh2MessageNumber object.
-
valueAsString
- Overrides:
valueAsStringin classNamedNumber<Byte, Ssh2MessageNumber>- Returns:
- a string representation of this value.
-
compareTo
- Specified by:
compareToin interfaceComparable<Ssh2MessageNumber>- Specified by:
compareToin classNamedNumber<Byte, Ssh2MessageNumber>
-