public static enum TransportAddress.TransportProtocol extends Enum<TransportAddress.TransportProtocol>
| Enum Constant and Description |
|---|
UDP |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
static TransportAddress.TransportProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportAddress.TransportProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportAddress.TransportProtocol UDP
public static TransportAddress.TransportProtocol[] values()
for (TransportAddress.TransportProtocol c : TransportAddress.TransportProtocol.values()) System.out.println(c);
public static TransportAddress.TransportProtocol 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 String getDescription()
Copyright © 2017 TeleStax, Inc.. All Rights Reserved.