Class SocketInfo

  • Direct Known Subclasses:
    ActiveDirectoryStatus.ServerHealth

    public class SocketInfo
    extends Object
    Tuple of a socket endpoint. A pair of the host name and the TCP port number.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • SocketInfo

        public SocketInfo​(String host,
                          int port)
      • SocketInfo

        public SocketInfo​(String hostAndPort)
    • Method Detail

      • getHost

        public String getHost()
      • getPort

        public int getPort()
      • getIpAddress

        @CheckForNull
        public String getIpAddress()
        Retrieve the IP address of the Server we are targeting
        Returns:
        the IP address of the host