org.limewire.nio.observer
Interface AcceptChannelObserver
- All Superinterfaces:
- IOErrorObserver, Shutdownable
- All Known Implementing Classes:
- NIOServerSocket, TLSNIOServerSocket
public interface AcceptChannelObserver
- extends IOErrorObserver
Defines the interface that allows SocketChannel accept events
to be received. Classes that listen on a socket are notified of new
connections through this interface.
handleAcceptChannel
void handleAcceptChannel(SocketChannel channel)
throws IOException
- Notification that a
SocketChannel has been accepted. The
channel is in non-blocking mode.
- Throws:
IOException
Copyright © 2009. All Rights Reserved.