|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CaptureInterface.Capability>
jnetpcap.capture.CaptureInterface.Capability
public static enum CaptureInterface.Capability
Enum structure which defines the capabilities of the capturing device such as a network interface and the kernel of this particular OS.
| Enum Constant Summary | |
|---|---|
Address
Main address of the device or interface is known. |
|
CounterDrops
Device can report number of packets that were dropped while being recieved. |
|
CounterInErrors
Device can report number of inbound packets that contained errors as a total |
|
CounterInOctets
Device can report number of inbound octets on this device as a total |
|
CounterOutErrors
Device can report number of outbound packets that were dropped due to errors |
|
CounterOutOctets
Device can report nmber of outbound octets on this device as a total |
|
DataEncapsulation
The data encapsulation of the captured packet is deterministic and known. |
|
KernelFilter
OS supports kernel filtering of packets. |
|
OSArchitecture
Architecture of the system that the operation system is running on. |
|
OSName
Operating system name on which the capture device captured the packet. |
|
OSVersion
Operating system version on which the capture device captured the packet. |
|
| Method Summary | |
|---|---|
static CaptureInterface.Capability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CaptureInterface.Capability[] |
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 CaptureInterface.Capability Address
public static final CaptureInterface.Capability CounterDrops
public static final CaptureInterface.Capability CounterInErrors
public static final CaptureInterface.Capability CounterInOctets
public static final CaptureInterface.Capability CounterOutErrors
public static final CaptureInterface.Capability CounterOutOctets
public static final CaptureInterface.Capability DataEncapsulation
CaptureInterface.getDataEncapsulation() method.
public static final CaptureInterface.Capability KernelFilter
public static final CaptureInterface.Capability OSArchitecture
os.arch.
public static final CaptureInterface.Capability OSName
public static final CaptureInterface.Capability OSVersion
| Method Detail |
|---|
public static final CaptureInterface.Capability[] values()
for(CaptureInterface.Capability c : CaptureInterface.Capability.values())
System.out.println(c);
public static CaptureInterface.Capability 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 | |||||||||