public static enum Criterion.TcpFlags extends java.lang.Enum<Criterion.TcpFlags>
Enum Constant and Description |
---|
ACK
Acknowledgment field is significant.
|
CWR
Congestion Window Reduced.
|
ECE
ECN-Echo.
|
FIN
No more data from sender.
|
NS
ECN-nonce concealment protection.
|
PSH
Push the buffered data to the receiving application.
|
RST
Reset the connection.
|
SYN
Synchronize sequence numbers.
|
URG
Urgent pointer field is significant.
|
Modifier and Type | Method and Description |
---|---|
short |
getValue()
Gets the value as an integer.
|
static Criterion.TcpFlags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Criterion.TcpFlags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Criterion.TcpFlags NS
public static final Criterion.TcpFlags CWR
public static final Criterion.TcpFlags ECE
public static final Criterion.TcpFlags URG
public static final Criterion.TcpFlags ACK
public static final Criterion.TcpFlags PSH
public static final Criterion.TcpFlags RST
public static final Criterion.TcpFlags SYN
public static final Criterion.TcpFlags FIN
public static Criterion.TcpFlags[] values()
for (Criterion.TcpFlags c : Criterion.TcpFlags.values()) System.out.println(c);
public static Criterion.TcpFlags 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 short getValue()