public static enum ConnectionMessage.ConnectionState extends Enum<ConnectionMessage.ConnectionState>
| Enum Constant and Description |
|---|
LOGGED_OFF
A remote eBus connection is logged off.
|
LOGGED_ON
A remote eBus connection is logged on.
|
PAUSED
Remote eBus connection is paused.
|
RESUMED
Remote eBus connection is resumed.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionMessage.ConnectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionMessage.ConnectionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionMessage.ConnectionState LOGGED_ON
public static final ConnectionMessage.ConnectionState LOGGED_OFF
public static final ConnectionMessage.ConnectionState PAUSED
public static final ConnectionMessage.ConnectionState RESUMED
public static ConnectionMessage.ConnectionState[] values()
for (ConnectionMessage.ConnectionState c : ConnectionMessage.ConnectionState.values()) System.out.println(c);
public static ConnectionMessage.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 nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.