|
SourceForge Jpcap | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JWinPcap.OpenFlags>
net.sourceforge.jpcap.capture.JWinPcap.OpenFlags
public static enum JWinPcap.OpenFlags
Open flags, for use with open()
.
JWinPcap.open(java.lang.String, boolean)
Enum Constant Summary | |
---|---|
DataTxUDP
Defines if the data transfer (in case of a remote capture) has to be done with UDP protocol. |
|
MaxResponsiveness
This flag configures the adapter for maximum responsiveness. |
|
NoCaptureLocal
Defines if the local adapter will capture its own generated traffic. |
|
NoCaptureRemote
Defines if the remote probe will capture its own generated traffic. |
|
Promiscuous
Defines if the adapter has to go in promiscuous mode. |
Method Summary | |
---|---|
static JWinPcap.OpenFlags |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JWinPcap.OpenFlags[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JWinPcap.OpenFlags Promiscuous
public static final JWinPcap.OpenFlags DataTxUDP
public static final JWinPcap.OpenFlags NoCaptureRemote
public static final JWinPcap.OpenFlags NoCaptureLocal
public static final JWinPcap.OpenFlags MaxResponsiveness
Method Detail |
---|
public static final JWinPcap.OpenFlags[] values()
for(JWinPcap.OpenFlags c : JWinPcap.OpenFlags.values()) System.out.println(c);
public static JWinPcap.OpenFlags valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |