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