com.planet_ink.coffee_mud.Common.interfaces
Enum Session.SessionStatus

java.lang.Object
  extended by java.lang.Enum<Session.SessionStatus>
      extended by com.planet_ink.coffee_mud.Common.interfaces.Session.SessionStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Session.SessionStatus>
Enclosing interface:
Session

public static enum Session.SessionStatus
extends java.lang.Enum<Session.SessionStatus>

The status of the session, from opening handshake, to final goodbyes


Enum Constant Summary
ACCOUNT_MENU
           
CHARCREATE
           
HANDSHAKE_DONE
           
HANDSHAKE_MCCP
           
HANDSHAKE_MXP
           
HANDSHAKE_MXPPAUSE
           
HANDSHAKE_OPEN
           
IDLE
           
LOGIN
           
LOGIN2
           
LOGOUT
           
LOGOUT1
           
LOGOUT10
           
LOGOUT11
           
LOGOUT12
           
LOGOUT2
           
LOGOUT3
           
LOGOUT4
           
LOGOUT5
           
LOGOUT6
           
LOGOUT7
           
LOGOUT8
           
LOGOUT9
           
LOGOUTFINAL
           
MAINLOOP
           
 
Method Summary
static Session.SessionStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Session.SessionStatus[] 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

HANDSHAKE_OPEN

public static final Session.SessionStatus HANDSHAKE_OPEN

HANDSHAKE_MCCP

public static final Session.SessionStatus HANDSHAKE_MCCP

HANDSHAKE_MXP

public static final Session.SessionStatus HANDSHAKE_MXP

HANDSHAKE_MXPPAUSE

public static final Session.SessionStatus HANDSHAKE_MXPPAUSE

HANDSHAKE_DONE

public static final Session.SessionStatus HANDSHAKE_DONE

LOGIN

public static final Session.SessionStatus LOGIN

LOGIN2

public static final Session.SessionStatus LOGIN2

ACCOUNT_MENU

public static final Session.SessionStatus ACCOUNT_MENU

CHARCREATE

public static final Session.SessionStatus CHARCREATE

IDLE

public static final Session.SessionStatus IDLE

MAINLOOP

public static final Session.SessionStatus MAINLOOP

LOGOUT

public static final Session.SessionStatus LOGOUT

LOGOUT1

public static final Session.SessionStatus LOGOUT1

LOGOUT2

public static final Session.SessionStatus LOGOUT2

LOGOUT3

public static final Session.SessionStatus LOGOUT3

LOGOUT4

public static final Session.SessionStatus LOGOUT4

LOGOUT5

public static final Session.SessionStatus LOGOUT5

LOGOUT6

public static final Session.SessionStatus LOGOUT6

LOGOUT7

public static final Session.SessionStatus LOGOUT7

LOGOUT8

public static final Session.SessionStatus LOGOUT8

LOGOUT9

public static final Session.SessionStatus LOGOUT9

LOGOUT10

public static final Session.SessionStatus LOGOUT10

LOGOUT11

public static final Session.SessionStatus LOGOUT11

LOGOUT12

public static final Session.SessionStatus LOGOUT12

LOGOUTFINAL

public static final Session.SessionStatus LOGOUTFINAL
Method Detail

values

public static Session.SessionStatus[] 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 (Session.SessionStatus c : Session.SessionStatus.values())
    System.out.println(c);

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

valueOf

public static Session.SessionStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null