Class IpV4Rfc1349Tos

java.lang.Object
org.pcap4j.packet.IpV4Rfc1349Tos
All Implemented Interfaces:
Serializable, IpV4Packet.IpV4Tos

public final class IpV4Rfc1349Tos extends Object implements IpV4Packet.IpV4Tos
Since:
pcap4j 0.9.11
See Also:
  • Field Details

  • Constructor Details

    • IpV4Rfc1349Tos

      private IpV4Rfc1349Tos(byte value)
    • IpV4Rfc1349Tos

      private IpV4Rfc1349Tos(IpV4Rfc1349Tos.Builder builder)
  • Method Details

    • newInstance

      public static IpV4Rfc1349Tos newInstance(byte value)
      Parameters:
      value - value
      Returns:
      a new IpV4Rfc1349Tos object.
    • getPrecedence

      public IpV4TosPrecedence getPrecedence()
      Returns:
      precedence
    • getTos

      public IpV4TosTos getTos()
      Returns:
      tos
    • mbz

      public boolean mbz()
      Returns:
      mbz
    • value

      public byte value()
      Specified by:
      value in interface IpV4Packet.IpV4Tos
      Returns:
      value
    • getBuilder

      public IpV4Rfc1349Tos.Builder getBuilder()
      Returns:
      a new Builder object populated with this object's fields.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object