public static enum ModbusCommEvent.Type extends Enum<ModbusCommEvent.Type>
| Enum Constant and Description |
|---|
ENTER_LISTEN_ONLY_MODE |
INITIATED_COMMUNICATION_RESTART |
RECEIVE |
SEND |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static ModbusCommEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModbusCommEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModbusCommEvent.Type SEND
public static final ModbusCommEvent.Type RECEIVE
public static final ModbusCommEvent.Type INITIATED_COMMUNICATION_RESTART
public static final ModbusCommEvent.Type ENTER_LISTEN_ONLY_MODE
public static ModbusCommEvent.Type[] values()
for (ModbusCommEvent.Type c : ModbusCommEvent.Type.values()) System.out.println(c);
public static ModbusCommEvent.Type 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 nullpublic int getCode()
Copyright © 2018. All rights reserved.