Interface NamedEndpoint

    • Method Detail

      • getHostName

        java.lang.String getHostName()
        Returns name (IP or DNS name).
        Returns:
        the host name (IP or DNS name)
      • getPort

        int getPort()
        Returns the port.
        Returns:
        the host port, or -1 if not set