Package org.jgrapes.io
Interface NioHandler
- All Known Implementing Classes:
SocketConnectionManager.SocketChannelImpl,SocketServer
public interface NioHandler
Defines the contract between a component using non blocking I/O
and the
NioDispatcher.-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleOps(int ops) Invoked by theNioDispatcherwhen operations are pending.
-
Method Details
-
handleOps
Invoked by theNioDispatcherwhen operations are pending.- Parameters:
ops- the pending operations as or’ed constants defined bySelectionKey- Throws:
InterruptedException
-