public enum ConnectionModes extends Enum<ConnectionModes>
| Enum Constant and Description |
|---|
DIAMOND_CLOUD |
HTTP |
MEET_IN_THE_CLOUD |
SERIAL |
SSL_TCP |
TCP_IP |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionModes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionModes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionModes SERIAL
public static final ConnectionModes TCP_IP
public static final ConnectionModes SSL_TCP
public static final ConnectionModes HTTP
public static final ConnectionModes MEET_IN_THE_CLOUD
public static final ConnectionModes DIAMOND_CLOUD
public static ConnectionModes[] values()
for (ConnectionModes c : ConnectionModes.values()) System.out.println(c);
public static ConnectionModes 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 © 2024. All rights reserved.