Class IpV4Rfc791Tos.Builder

  • Enclosing class:
    IpV4Rfc791Tos

    public static final class IpV4Rfc791Tos.Builder
    extends java.lang.Object
    Since:
    pcap4j 0.9.11
    Author:
    Kaito Yamada
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • lowDelay

        public IpV4Rfc791Tos.Builder lowDelay​(boolean lowDelay)
        Parameters:
        lowDelay - lowDelay
        Returns:
        this Builder object for method chaining.
      • highThroughput

        public IpV4Rfc791Tos.Builder highThroughput​(boolean highThroughput)
        Parameters:
        highThroughput - highThroughput
        Returns:
        this Builder object for method chaining.
      • highReliability

        public IpV4Rfc791Tos.Builder highReliability​(boolean highRelibility)
        Parameters:
        highRelibility - highRelibility
        Returns:
        this Builder object for method chaining.
      • seventhBit

        public IpV4Rfc791Tos.Builder seventhBit​(boolean seventhBit)
        Parameters:
        seventhBit - seventhBit
        Returns:
        this Builder object for method chaining.
      • eighthBit

        public IpV4Rfc791Tos.Builder eighthBit​(boolean eighthBit)
        Parameters:
        eighthBit - eighthBit
        Returns:
        this Builder object for method chaining.
      • build

        public IpV4Rfc791Tos build()
        Returns:
        a new IpV4Rfc791Tos object.