Module 

Interface ConnectedChannel

    • Method Detail

      • getPeerAddress

        java.net.SocketAddress getPeerAddress()
        Get the peer address of this channel.
        Returns:
        the peer address
      • getPeerAddress

        <A extends java.net.SocketAddress> A getPeerAddress​(java.lang.Class<A> type)
        Get the peer address of a given type, or null if the address is not of that type.
        Parameters:
        type - the address type class
        Returns:
        the peer address, or null if unknown