public enum ConnectionMode extends Enum<ConnectionMode>
| Enum Constant and Description |
|---|
BROADCAST
ECR and EFT Terminal exchange connection parameters using broadcasting before connecting.
|
ON_FIX_IP
ECR and EFT Terminal connect directly using pre-configured connection parameters.
|
| Modifier and Type | Method and Description |
|---|---|
static ConnectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionMode BROADCAST
public static final ConnectionMode ON_FIX_IP
public static ConnectionMode[] values()
for (ConnectionMode c : ConnectionMode.values()) System.out.println(c);
public static ConnectionMode 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 null