|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ConnectionState>
triptracker.core.ConnectionState
public enum ConnectionState
Client connection state.
Enum Constant Summary | |
---|---|
AUTH_FAILED
Client authentication failed. |
|
AUTH_SUCCESS
Client authentication successful. |
|
CONNECTED
Client is connected to server, but not authenticated yet. |
|
DISCONNECTED
Client logged out/disconnected from server. |
|
SUBSCRIBED
Client subscribed to realtime route |
|
TRACKING
GPS Client tracking realtime route |
|
UNSUBSCRIBED
Client unsubscribed to realtime route |
|
WATCHING
GPS Client not tracking realtime route |
Method Summary | |
---|---|
static ConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ConnectionState CONNECTED
public static final ConnectionState AUTH_SUCCESS
public static final ConnectionState AUTH_FAILED
public static final ConnectionState DISCONNECTED
public static final ConnectionState SUBSCRIBED
public static final ConnectionState UNSUBSCRIBED
public static final ConnectionState TRACKING
public static final ConnectionState WATCHING
Method Detail |
---|
public static final ConnectionState[] values()
for(ConnectionState c : ConnectionState.values()) System.out.println(c);
public static ConnectionState valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |