Class UdpHeader.Builder

  • Enclosing class:
    UdpHeader

    public static final class UdpHeader.Builder
    extends java.lang.Object
    Builder class for UdpHeader.
    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()
      Constructor with parameters for the required properties of UdpHeader.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of UdpHeader.
    • Method Detail

      • setDstPort

        public UdpHeader.Builder setDstPort​(java.lang.Long dstPort)
        Destination port of udp header format: int64
        Parameters:
        dstPort - New value for the property.
      • setSrcPort

        public UdpHeader.Builder setSrcPort​(java.lang.Long srcPort)
        Source port of udp header format: int64
        Parameters:
        srcPort - New value for the property.