Interface SocketAddress.Builder

    • Method Detail

      • ipAddress

        SocketAddress.Builder ipAddress​(String ipAddress)

        The IP address for the socket address.

        Parameters:
        ipAddress - The IP address for the socket address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • port

        SocketAddress.Builder port​(Integer port)

        The port for the socket address.

        Parameters:
        port - The port for the socket address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.