public enum PortmapProtocol extends java.lang.Enum<PortmapProtocol>
| Modifier and Type | Method and Description |
|---|---|
static PortmapProtocol |
fromSwig(int swigValue) |
int |
swig() |
static PortmapProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PortmapProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortmapProtocol NONE
public static final PortmapProtocol TCP
public static final PortmapProtocol UDP
public static PortmapProtocol[] values()
for (PortmapProtocol c : PortmapProtocol.values()) System.out.println(c);
public static PortmapProtocol 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 swig()
public static PortmapProtocol fromSwig(int swigValue)