public static enum ConnectionBasedLink.Mode extends java.lang.Enum<ConnectionBasedLink.Mode>
| Enum Constant and Description |
|---|
ANY_MESSAGE_RECEIVED
interpret any message received from arduino to be ok
|
READY_MESSAGE_ONLY
only interpret "ready" packets to be ok
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionBasedLink.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionBasedLink.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionBasedLink.Mode ANY_MESSAGE_RECEIVED
public static final ConnectionBasedLink.Mode READY_MESSAGE_ONLY
public static ConnectionBasedLink.Mode[] values()
for (ConnectionBasedLink.Mode c : ConnectionBasedLink.Mode.values()) System.out.println(c);
public static ConnectionBasedLink.Mode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2016. All rights reserved.