java.lang.Object
org.pcap4j.packet.IpV4Rfc791Tos
- All Implemented Interfaces:
Serializable,IpV4Packet.IpV4Tos
- Since:
- pcap4j 0.9.11
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final booleanprivate final booleanprivate final booleanprivate final IpV4TosPrecedenceprivate static final longprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateIpV4Rfc791Tos(byte value) privateIpV4Rfc791Tos(IpV4Rfc791Tos.Builder builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleaninthashCode()booleanbooleanbooleanstatic IpV4Rfc791TosnewInstance(byte value) toString()bytevalue()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
precedence
-
lowDelay
private final boolean lowDelay -
highThroughput
private final boolean highThroughput -
highReliability
private final boolean highReliability -
seventhBit
private final boolean seventhBit -
eighthBit
private final boolean eighthBit
-
-
Constructor Details
-
IpV4Rfc791Tos
private IpV4Rfc791Tos(byte value) -
IpV4Rfc791Tos
-
-
Method Details
-
newInstance
- Parameters:
value- value- Returns:
- a new IpV4Rfc791Tos object.
-
getPrecedence
- Returns:
- precedence
-
isLowDelay
public boolean isLowDelay()- Returns:
- lowDelay
-
isHighThroughput
public boolean isHighThroughput()- Returns:
- highThroughput
-
isHighReliability
public boolean isHighReliability()- Returns:
- highReliability
-
getSeventhBit
public boolean getSeventhBit()- Returns:
- seventhBit
-
getEighthBit
public boolean getEighthBit()- Returns:
- eighthBit
-
value
public byte value()- Specified by:
valuein interfaceIpV4Packet.IpV4Tos- Returns:
- value
-
getBuilder
- Returns:
- a new Builder object populated with this object's fields.
-
toString
-
equals
-
hashCode
public int hashCode()
-