public static enum Ascii.ConnType extends Enum<Ascii.ConnType>
| Enum Constant and Description |
|---|
FTDI
FTDI connection
|
NET
Network connection
|
SERIAL
Serial port connection
|
| Modifier and Type | Method and Description |
|---|---|
static Ascii.ConnType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ascii.ConnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ascii.ConnType NET
public static final Ascii.ConnType FTDI
public static final Ascii.ConnType SERIAL
public static Ascii.ConnType[] values()
for (Ascii.ConnType c : Ascii.ConnType.values()) System.out.println(c);
public static Ascii.ConnType 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 © 2015 LSST. All rights reserved.