- modifyInterestOps
Enqueue change to interest set of SelectionKey. This is a workaround for an NIO
design error that ma
- modifyInterestOpsBatch
Does the same as modifyInterestOps(), but does not call wakeup on the selector.
Allows adding more m
- <init>
- addNewConnection
This method is used by the Acceptor to hand off newly accepted connections to
the Listener. Note tha
- interrupt
- join
- performAccept
Accept new connection. This will loop over accept() until there are no more new
connections to accep
- performConnect
Complete asynchronous connect operation. Note that asynchronous connect does not
work properly in 1.
- performRead
Perform read operation on channel which is now ready for reading
- performWrite
Perform write operation(s) on channel which is now ready for writing
- processModifyInterestOps
Process enqueued changes to SelectionKeys. Also see modifyInterestOps().
- processNewConnections
This method is called from the selectLoop() method in order to process new
incoming connections.