Class LoadBalancer.AddressPort

  • Enclosing class:
    LoadBalancer

    public static class LoadBalancer.AddressPort
    extends Base
    An AddressPort is an immutable combination of an IP address and a port number.
    • Field Detail

      • address

        public final InetAddress address
        The address.
      • nPort

        public final int nPort
        The port.
    • Constructor Detail

      • AddressPort

        public AddressPort​(InetAddress address,
                           int nPort)
        Construct an AddressPort object.
    • Method Detail

      • toString

        public String toString()
        Return a human readable description of this AddressPort object.
        Overrides:
        toString in class Object
        Returns:
        a human readable description of this AddressPort object