org.apache.sshd.common
Enum SshConstants.Message

java.lang.Object
  extended by java.lang.Enum<SshConstants.Message>
      extended by org.apache.sshd.common.SshConstants.Message
All Implemented Interfaces:
Serializable, Comparable<SshConstants.Message>
Enclosing interface:
SshConstants

public static enum SshConstants.Message
extends Enum<SshConstants.Message>

SSH message identifiers


Enum Constant Summary
SSH_MSG_CHANNEL_CLOSE
           
SSH_MSG_CHANNEL_DATA
           
SSH_MSG_CHANNEL_EOF
           
SSH_MSG_CHANNEL_EXTENDED_DATA
           
SSH_MSG_CHANNEL_FAILURE
           
SSH_MSG_CHANNEL_OPEN
           
SSH_MSG_CHANNEL_OPEN_CONFIRMATION
           
SSH_MSG_CHANNEL_OPEN_FAILURE
           
SSH_MSG_CHANNEL_REQUEST
           
SSH_MSG_CHANNEL_SUCCESS
           
SSH_MSG_CHANNEL_WINDOW_ADJUST
           
SSH_MSG_DEBUG
           
SSH_MSG_DISCONNECT
           
SSH_MSG_GLOBAL_REQUEST
           
SSH_MSG_IGNORE
           
SSH_MSG_KEX_DH_GEX_INIT
           
SSH_MSG_KEX_DH_GEX_REPLY
           
SSH_MSG_KEX_DH_GEX_REQUEST
           
SSH_MSG_KEXDH_INIT
           
SSH_MSG_KEXDH_REPLY_KEX_DH_GEX_GROUP
           
SSH_MSG_KEXINIT
           
SSH_MSG_NEWKEYS
           
SSH_MSG_REQUEST_FAILURE
           
SSH_MSG_REQUEST_SUCCESS
           
SSH_MSG_SERVICE_ACCEPT
           
SSH_MSG_SERVICE_REQUEST
           
SSH_MSG_UNIMPLEMENTED
           
SSH_MSG_USERAUTH_BANNER
           
SSH_MSG_USERAUTH_FAILURE
           
SSH_MSG_USERAUTH_GSSAPI_MIC
           
SSH_MSG_USERAUTH_INFO_REQUEST
           
SSH_MSG_USERAUTH_INFO_RESPONSE
           
SSH_MSG_USERAUTH_PK_OK
           
SSH_MSG_USERAUTH_REQUEST
           
SSH_MSG_USERAUTH_SUCCESS
           
 
Method Summary
static SshConstants.Message fromByte(byte b)
           
 byte toByte()
           
static SshConstants.Message valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SshConstants.Message[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SSH_MSG_DISCONNECT

public static final SshConstants.Message SSH_MSG_DISCONNECT

SSH_MSG_IGNORE

public static final SshConstants.Message SSH_MSG_IGNORE

SSH_MSG_UNIMPLEMENTED

public static final SshConstants.Message SSH_MSG_UNIMPLEMENTED

SSH_MSG_DEBUG

public static final SshConstants.Message SSH_MSG_DEBUG

SSH_MSG_SERVICE_REQUEST

public static final SshConstants.Message SSH_MSG_SERVICE_REQUEST

SSH_MSG_SERVICE_ACCEPT

public static final SshConstants.Message SSH_MSG_SERVICE_ACCEPT

SSH_MSG_KEXINIT

public static final SshConstants.Message SSH_MSG_KEXINIT

SSH_MSG_NEWKEYS

public static final SshConstants.Message SSH_MSG_NEWKEYS

SSH_MSG_KEXDH_INIT

public static final SshConstants.Message SSH_MSG_KEXDH_INIT

SSH_MSG_KEXDH_REPLY_KEX_DH_GEX_GROUP

public static final SshConstants.Message SSH_MSG_KEXDH_REPLY_KEX_DH_GEX_GROUP

SSH_MSG_KEX_DH_GEX_INIT

public static final SshConstants.Message SSH_MSG_KEX_DH_GEX_INIT

SSH_MSG_KEX_DH_GEX_REPLY

public static final SshConstants.Message SSH_MSG_KEX_DH_GEX_REPLY

SSH_MSG_KEX_DH_GEX_REQUEST

public static final SshConstants.Message SSH_MSG_KEX_DH_GEX_REQUEST

SSH_MSG_USERAUTH_REQUEST

public static final SshConstants.Message SSH_MSG_USERAUTH_REQUEST

SSH_MSG_USERAUTH_FAILURE

public static final SshConstants.Message SSH_MSG_USERAUTH_FAILURE

SSH_MSG_USERAUTH_SUCCESS

public static final SshConstants.Message SSH_MSG_USERAUTH_SUCCESS

SSH_MSG_USERAUTH_BANNER

public static final SshConstants.Message SSH_MSG_USERAUTH_BANNER

SSH_MSG_USERAUTH_INFO_REQUEST

public static final SshConstants.Message SSH_MSG_USERAUTH_INFO_REQUEST

SSH_MSG_USERAUTH_INFO_RESPONSE

public static final SshConstants.Message SSH_MSG_USERAUTH_INFO_RESPONSE

SSH_MSG_USERAUTH_PK_OK

public static final SshConstants.Message SSH_MSG_USERAUTH_PK_OK

SSH_MSG_GLOBAL_REQUEST

public static final SshConstants.Message SSH_MSG_GLOBAL_REQUEST

SSH_MSG_REQUEST_SUCCESS

public static final SshConstants.Message SSH_MSG_REQUEST_SUCCESS

SSH_MSG_REQUEST_FAILURE

public static final SshConstants.Message SSH_MSG_REQUEST_FAILURE

SSH_MSG_USERAUTH_GSSAPI_MIC

public static final SshConstants.Message SSH_MSG_USERAUTH_GSSAPI_MIC

SSH_MSG_CHANNEL_OPEN

public static final SshConstants.Message SSH_MSG_CHANNEL_OPEN

SSH_MSG_CHANNEL_OPEN_CONFIRMATION

public static final SshConstants.Message SSH_MSG_CHANNEL_OPEN_CONFIRMATION

SSH_MSG_CHANNEL_OPEN_FAILURE

public static final SshConstants.Message SSH_MSG_CHANNEL_OPEN_FAILURE

SSH_MSG_CHANNEL_WINDOW_ADJUST

public static final SshConstants.Message SSH_MSG_CHANNEL_WINDOW_ADJUST

SSH_MSG_CHANNEL_DATA

public static final SshConstants.Message SSH_MSG_CHANNEL_DATA

SSH_MSG_CHANNEL_EXTENDED_DATA

public static final SshConstants.Message SSH_MSG_CHANNEL_EXTENDED_DATA

SSH_MSG_CHANNEL_EOF

public static final SshConstants.Message SSH_MSG_CHANNEL_EOF

SSH_MSG_CHANNEL_CLOSE

public static final SshConstants.Message SSH_MSG_CHANNEL_CLOSE

SSH_MSG_CHANNEL_REQUEST

public static final SshConstants.Message SSH_MSG_CHANNEL_REQUEST

SSH_MSG_CHANNEL_SUCCESS

public static final SshConstants.Message SSH_MSG_CHANNEL_SUCCESS

SSH_MSG_CHANNEL_FAILURE

public static final SshConstants.Message SSH_MSG_CHANNEL_FAILURE
Method Detail

values

public static SshConstants.Message[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SshConstants.Message c : SshConstants.Message.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SshConstants.Message valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

toByte

public byte toByte()

fromByte

public static SshConstants.Message fromByte(byte b)


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.