Enum Criterion.TcpFlags
- java.lang.Object
-
- java.lang.Enum<Criterion.TcpFlags>
-
- org.onosproject.net.flow.criteria.Criterion.TcpFlags
-
- All Implemented Interfaces:
Serializable
,Comparable<Criterion.TcpFlags>
- Enclosing interface:
- Criterion
public static enum Criterion.TcpFlags extends Enum<Criterion.TcpFlags>
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description short
getValue()
Gets the value as an integer.static Criterion.TcpFlags
valueOf(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.
-
-
-
Enum Constant Detail
-
NS
public static final Criterion.TcpFlags NS
ECN-nonce concealment protection.
-
CWR
public static final Criterion.TcpFlags CWR
Congestion Window Reduced.
-
ECE
public static final Criterion.TcpFlags ECE
ECN-Echo.
-
URG
public static final Criterion.TcpFlags URG
Urgent pointer field is significant.
-
ACK
public static final Criterion.TcpFlags ACK
Acknowledgment field is significant.
-
PSH
public static final Criterion.TcpFlags PSH
Push the buffered data to the receiving application.
-
RST
public static final Criterion.TcpFlags RST
Reset the connection.
-
SYN
public static final Criterion.TcpFlags SYN
Synchronize sequence numbers.
-
FIN
public static final Criterion.TcpFlags FIN
No more data from sender.
-
-
Method Detail
-
values
public static Criterion.TcpFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Criterion.TcpFlags c : Criterion.TcpFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Criterion.TcpFlags valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public short getValue()
Gets the value as an integer.- Returns:
- the value as an integer
-
-