public enum TransportType extends java.lang.Enum<TransportType>
| Enum Constant and Description |
|---|
BROADCAST_TRANSPORT |
INCONSISTENT_TRANSPORT |
MULTICAST_TRANSPORT |
NDSS_TRANSPORT |
NO_TRANSPORT |
REGISTRY_CLIENT |
REGISTRY_SERVER |
SPLICE_TRANSPORT |
TCP_TRANSPORT |
UDP_TRANSPORT |
| Modifier and Type | Method and Description |
|---|---|
static TransportType |
getType(int val) |
int |
value()
Get the integer value of this enum
|
static TransportType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportType NO_TRANSPORT
public static final TransportType SPLICE_TRANSPORT
public static final TransportType NDSS_TRANSPORT
public static final TransportType TCP_TRANSPORT
public static final TransportType UDP_TRANSPORT
public static final TransportType MULTICAST_TRANSPORT
public static final TransportType BROADCAST_TRANSPORT
public static final TransportType REGISTRY_SERVER
public static final TransportType REGISTRY_CLIENT
public static final TransportType INCONSISTENT_TRANSPORT
public static TransportType[] values()
for (TransportType c : TransportType.values()) System.out.println(c);
public static TransportType 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 nullpublic int value()
public static TransportType getType(int val)