public static enum PcapNetworkInterface.PromiscuousMode extends Enum<PcapNetworkInterface.PromiscuousMode>
Enum Constant and Description |
---|
NONPROMISCUOUS |
PROMISCUOUS |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PcapNetworkInterface.PromiscuousMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcapNetworkInterface.PromiscuousMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcapNetworkInterface.PromiscuousMode PROMISCUOUS
public static final PcapNetworkInterface.PromiscuousMode NONPROMISCUOUS
public static PcapNetworkInterface.PromiscuousMode[] values()
for (PcapNetworkInterface.PromiscuousMode c : PcapNetworkInterface.PromiscuousMode.values()) System.out.println(c);
public static PcapNetworkInterface.PromiscuousMode 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 int getValue()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.