|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<NetworkAdapterPromiscModePolicy>
org.virtualbox_5_2.NetworkAdapterPromiscModePolicy
public enum NetworkAdapterPromiscModePolicy
The promiscuous mode policy of an interface. Interface ID: {C963768A-376F-4C85-8D84-D8CED4B7269E}
| Enum Constant Summary | |
|---|---|
AllowAll
Allow promiscuous mode, include unrelated traffic going over the wire and internally on the host. |
|
AllowNetwork
Allow promiscuous mode, but restrict the scope it to the internal network so that it only applies to other VMs. |
|
Deny
Deny promiscuous mode requests. |
|
| Method Summary | |
|---|---|
static NetworkAdapterPromiscModePolicy |
fromValue(long v)
|
static NetworkAdapterPromiscModePolicy |
fromValue(java.lang.String v)
|
int |
value()
|
static NetworkAdapterPromiscModePolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static NetworkAdapterPromiscModePolicy[] |
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 NetworkAdapterPromiscModePolicy Deny
public static final NetworkAdapterPromiscModePolicy AllowNetwork
public static final NetworkAdapterPromiscModePolicy AllowAll
| Method Detail |
|---|
public static NetworkAdapterPromiscModePolicy[] values()
for (NetworkAdapterPromiscModePolicy c : NetworkAdapterPromiscModePolicy.values()) System.out.println(c);
public static NetworkAdapterPromiscModePolicy 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 NetworkAdapterPromiscModePolicy fromValue(long v)
public static NetworkAdapterPromiscModePolicy fromValue(java.lang.String v)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||