using java.nio one has to register interest in operations via the SelectableChannel:
SelectionKey = SelectableChannel.register(selector, interestInOpsBitmask)
Registering Interest:
- overwriting the existing SelectionKey by executing SelectableChannel.register with new Ops
- VS. updating the existing SelectionKey with key.interestOps(key.interestOps() ...