Class SocketChannelEndPoint

    • Constructor Detail

      • SocketChannelEndPoint

        public SocketChannelEndPoint​(java.nio.channels.SelectableChannel channel,
                                     ManagedSelector selector,
                                     java.nio.channels.SelectionKey key,
                                     Scheduler scheduler)
      • SocketChannelEndPoint

        public SocketChannelEndPoint​(java.nio.channels.SocketChannel channel,
                                     ManagedSelector selector,
                                     java.nio.channels.SelectionKey key,
                                     Scheduler scheduler)
    • Method Detail

      • getSocket

        public java.net.Socket getSocket()
      • getLocalAddress

        public java.net.InetSocketAddress getLocalAddress()
        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()
        Returns:
        The remote Inet address to which this EndPoint is bound, or null if this EndPoint does not represent a network connection.