Class GtpTunnelPeer.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withTunnelPeerId

        public GtpTunnelPeer.Builder withTunnelPeerId​(byte tunPeerId)
        Set the ID of the GTP Tunnel peer.
        Parameters:
        tunPeerId - GTP tunnel peer ID
        Returns:
        This builder object
      • withSrcAddr

        public GtpTunnelPeer.Builder withSrcAddr​(Ip4Address src)
        Set the source IP address of the unidirectional GTP tunnel.
        Parameters:
        src - GTP tunnel source IP
        Returns:
        This builder object
      • withDstAddr

        public GtpTunnelPeer.Builder withDstAddr​(Ip4Address dst)
        Set the destination IP address of the unidirectional GTP tunnel.
        Parameters:
        dst - GTP tunnel destination IP
        Returns:
        This builder object
      • withSrcPort

        public GtpTunnelPeer.Builder withSrcPort​(short srcPort)
        Set the source port of this unidirectional GTP tunnel.
        Parameters:
        srcPort - tunnel source port
        Returns:
        this builder object