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 Summary
Modifier and TypeMethodDescriptionvoidnewConnectionAccepted(ServerSocketChannel server, SocketChannel channel) The given connection has just been accepted.
-
Method Details
-
newConnectionAccepted
The given connection has just been accepted.- Parameters:
channel- new connection
-