Module 

Interface BoundChannel

    • Method Detail

      • getLocalAddress

        java.net.SocketAddress getLocalAddress()
        Get the local address that this channel is bound to.
        Returns:
        the local address
      • getLocalAddress

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