public enum MBusConnectionType extends java.lang.Enum<MBusConnectionType>
| Enum Constant and Description |
|---|
SERIAL_AT_MODEM |
SERIAL_DIRECT |
TCP_IP |
| Modifier and Type | Method and Description |
|---|---|
static MBusConnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MBusConnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MBusConnectionType SERIAL_DIRECT
public static final MBusConnectionType SERIAL_AT_MODEM
public static final MBusConnectionType TCP_IP
public static MBusConnectionType[] values()
for (MBusConnectionType c : MBusConnectionType.values()) System.out.println(c);
public static MBusConnectionType 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 null