public static enum GMetric.UDPAddressingMode extends java.lang.Enum<GMetric.UDPAddressingMode>
| Modifier and Type | Method and Description |
|---|---|
static GMetric.UDPAddressingMode |
getModeForAddress(java.lang.String addr) |
static GMetric.UDPAddressingMode |
valueOf(java.lang.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(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 static GMetric.UDPAddressingMode getModeForAddress(java.lang.String addr) throws java.io.IOException
java.io.IOException