public static enum GMetric.UDPAddressingMode extends Enum<GMetric.UDPAddressingMode>
| Modifier and Type | Method and Description |
|---|---|
static GMetric.UDPAddressingMode |
getModeForAddress(String addr) |
static GMetric.UDPAddressingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GMetric.UDPAddressingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GMetric.UDPAddressingMode MULTICAST
public static final GMetric.UDPAddressingMode UNICAST
public static GMetric.UDPAddressingMode[] values()
for (GMetric.UDPAddressingMode c : GMetric.UDPAddressingMode.values()) System.out.println(c);
public static GMetric.UDPAddressingMode 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 static GMetric.UDPAddressingMode getModeForAddress(String addr) throws IOException
IOExceptionCopyright © 2017. All rights reserved.