Class GtpTunnel.GtpTunnelBuilder

  • Enclosing class:
    GtpTunnel

    public static class GtpTunnel.GtpTunnelBuilder
    extends Object
    • Constructor Detail

      • GtpTunnelBuilder

        public GtpTunnelBuilder()
    • Method Detail

      • setSrc

        public GtpTunnel.GtpTunnelBuilder setSrc​(Ip4Address src)
        Set the source IP address of the unidirectional GTP tunnel.
        Parameters:
        src - GTP tunnel source IP
        Returns:
        This builder object
      • setDst

        public GtpTunnel.GtpTunnelBuilder setDst​(Ip4Address dst)
        Set the destination IP address of the unidirectional GTP tunnel.
        Parameters:
        dst - GTP tunnel destination IP
        Returns:
        This builder object
      • setTeid

        public GtpTunnel.GtpTunnelBuilder setTeid​(long teid)
        Set the identifier of this unidirectional GTP tunnel.
        Parameters:
        teid - tunnel ID
        Returns:
        This builder object
      • setSrcPort

        public GtpTunnel.GtpTunnelBuilder setSrcPort​(short srcPort)
        Set the source port of this unidirectional GTP tunnel.
        Parameters:
        srcPort - tunnel source port
        Returns:
        this builder object