public static enum Enums.Param extends java.lang.Enum<Enums.Param>
Enum Constant and Description |
---|
QUEUE_LEN
Sets the maximum length of the packet queue for
WinDivert.recv() . |
QUEUE_TIME
Sets the minimum time, in milliseconds, a packet can be queued before it is automatically dropped.
|
Modifier and Type | Method and Description |
---|---|
int |
getDefault() |
int |
getMax() |
int |
getMin() |
int |
getValue() |
static Enums.Param |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Enums.Param[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enums.Param QUEUE_LEN
WinDivert.recv()
. Currently the default value is 512 (actually 1024), the minimum is 1, and the maximum is 8192.public static final Enums.Param QUEUE_TIME
public static Enums.Param[] values()
for (Enums.Param c : Enums.Param.values()) System.out.println(c);
public static Enums.Param 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 namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public int getMin()
public int getMax()
public int getDefault()