Interface VirtualServerChannelSelector.SelectListener

All Known Implementing Classes:
IncomingSocketChannelManager.TcpSelectListener, TRNonBlockingServer
Enclosing interface:
VirtualServerChannelSelector

public static interface VirtualServerChannelSelector.SelectListener
Listener notified when a new incoming connection is accepted.
  • Method Details

    • newConnectionAccepted

      void newConnectionAccepted(ServerSocketChannel server, SocketChannel channel)
      The given connection has just been accepted.
      Parameters:
      channel - new connection