Class UnixSocketEndPoint

    • Constructor Detail

      • UnixSocketEndPoint

        public UnixSocketEndPoint​(jnr.unixsocket.UnixSocketChannel channel,
                                  ManagedSelector selector,
                                  java.nio.channels.SelectionKey key,
                                  Scheduler scheduler)
    • Method Detail

      • getLocalAddress

        public java.net.InetSocketAddress getLocalAddress()
        Specified by:
        getLocalAddress in interface EndPoint
        Overrides:
        getLocalAddress in class ChannelEndPoint
        Returns:
        The local Inet address to which this EndPoint is bound, or null if this EndPoint does not represent a network connection.
      • getRemoteAddress

        public java.net.InetSocketAddress getRemoteAddress()
        Specified by:
        getRemoteAddress in interface EndPoint
        Overrides:
        getRemoteAddress in class ChannelEndPoint
        Returns:
        The remote Inet address to which this EndPoint is bound, or null if this EndPoint does not represent a network connection.