Enum Class Message

java.lang.Object
java.lang.Enum<Message>
net.schmizz.sshj.common.Message
All Implemented Interfaces:
Serializable, Comparable<Message>, Constable

public enum Message extends Enum<Message>
SSH message identifiers
  • Enum Constant Details

    • UNKNOWN

      public static final Message UNKNOWN
    • DISCONNECT

      public static final Message DISCONNECT
    • IGNORE

      public static final Message IGNORE
    • UNIMPLEMENTED

      public static final Message UNIMPLEMENTED
    • DEBUG

      public static final Message DEBUG
    • SERVICE_REQUEST

      public static final Message SERVICE_REQUEST
    • SERVICE_ACCEPT

      public static final Message SERVICE_ACCEPT
    • EXT_INFO

      public static final Message EXT_INFO
    • KEXINIT

      public static final Message KEXINIT
    • NEWKEYS

      public static final Message NEWKEYS
    • KEXDH_INIT

      public static final Message KEXDH_INIT
    • KEXDH_31

      public static final Message KEXDH_31
      { KEXDH_REPLY, KEXDH_GEX_GROUP, SSH_MSG_KEX_ECDH_REPLY }
    • KEX_DH_GEX_INIT

      public static final Message KEX_DH_GEX_INIT
    • KEX_DH_GEX_REPLY

      public static final Message KEX_DH_GEX_REPLY
    • KEX_DH_GEX_REQUEST

      public static final Message KEX_DH_GEX_REQUEST
    • USERAUTH_REQUEST

      public static final Message USERAUTH_REQUEST
    • USERAUTH_FAILURE

      public static final Message USERAUTH_FAILURE
    • USERAUTH_SUCCESS

      public static final Message USERAUTH_SUCCESS
    • USERAUTH_BANNER

      public static final Message USERAUTH_BANNER
    • USERAUTH_60

      public static final Message USERAUTH_60
      { USERAUTH_PASSWD_CHANGREQ, USERAUTH_PK_OK, USERAUTH_INFO_REQUEST }
    • USERAUTH_INFO_RESPONSE

      public static final Message USERAUTH_INFO_RESPONSE
    • USERAUTH_GSSAPI_EXCHANGE_COMPLETE

      public static final Message USERAUTH_GSSAPI_EXCHANGE_COMPLETE
    • USERAUTH_GSSAPI_MIC

      public static final Message USERAUTH_GSSAPI_MIC
    • GLOBAL_REQUEST

      public static final Message GLOBAL_REQUEST
    • REQUEST_SUCCESS

      public static final Message REQUEST_SUCCESS
    • REQUEST_FAILURE

      public static final Message REQUEST_FAILURE
    • CHANNEL_OPEN

      public static final Message CHANNEL_OPEN
    • CHANNEL_OPEN_CONFIRMATION

      public static final Message CHANNEL_OPEN_CONFIRMATION
    • CHANNEL_OPEN_FAILURE

      public static final Message CHANNEL_OPEN_FAILURE
    • CHANNEL_WINDOW_ADJUST

      public static final Message CHANNEL_WINDOW_ADJUST
    • CHANNEL_DATA

      public static final Message CHANNEL_DATA
    • CHANNEL_EXTENDED_DATA

      public static final Message CHANNEL_EXTENDED_DATA
    • CHANNEL_EOF

      public static final Message CHANNEL_EOF
    • CHANNEL_CLOSE

      public static final Message CHANNEL_CLOSE
    • CHANNEL_REQUEST

      public static final Message CHANNEL_REQUEST
    • CHANNEL_SUCCESS

      public static final Message CHANNEL_SUCCESS
    • CHANNEL_FAILURE

      public static final Message CHANNEL_FAILURE
  • Field Details

    • b

      private final byte b
    • cache

      private static final Message[] cache
  • Constructor Details

    • Message

      private Message(int b)
  • Method Details

    • values

      public static Message[] 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

      public static Message valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • fromByte

      public static Message fromByte(byte b)
    • 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()