|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NATProtocol>
org.virtualbox_6_0.NATProtocol
public enum NATProtocol
Protocol definitions used with NAT port-forwarding rules. Interface ID: {E90164BE-EB03-11DE-94AF-FFF9B1C1B19F}
Enum Constant Summary | |
---|---|
TCP
Port-forwarding uses TCP protocol. |
|
UDP
Port-forwarding uses UDP protocol. |
Method Summary | |
---|---|
static NATProtocol |
fromValue(long v)
|
static NATProtocol |
fromValue(java.lang.String v)
|
int |
value()
|
static NATProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NATProtocol[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NATProtocol UDP
public static final NATProtocol TCP
Method Detail |
---|
public static NATProtocol[] values()
for (NATProtocol c : NATProtocol.values()) System.out.println(c);
public static NATProtocol 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 name
java.lang.NullPointerException
- if the argument is nullpublic int value()
public static NATProtocol fromValue(long v)
public static NATProtocol fromValue(java.lang.String v)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |