|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LiveCapture.Option>
jnetpcap.capture.LiveCapture.Option
public static enum LiveCapture.Option
Options which can be set on open captures. The options are only hints and may be ignored due to other reasons, such as some other capture has already put the interface into Promiscous mode, a condition which results in all packets being captured for all sessions even this one.
| Enum Constant Summary | |
|---|---|
NonPropmiscous
CaptureFactory only packets that are destined for the network interface. |
|
Promiscous
Forces all the packets to be captured on an interface, even if the packets are not destined for the network interface or the system. |
|
| Method Summary | |
|---|---|
static LiveCapture.Option |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static LiveCapture.Option[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, 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 LiveCapture.Option Promiscous
public static final LiveCapture.Option NonPropmiscous
| Method Detail |
|---|
public static final LiveCapture.Option[] values()
for(LiveCapture.Option c : LiveCapture.Option.values())
System.out.println(c);
public static LiveCapture.Option 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||