users@grizzly.java.net

CurrentOpType is not set in the context when executed in a worker thread

From: Ramesh Parthasarathy <Ramesh.Parthasarathy_at_Sun.COM>
Date: Tue, 01 Apr 2008 11:27:50 +0000

Hi,
        In the controller if delegateToWorkerThread is true, then the
curentOpType is not set on the context. The optype is set (in the
onWriteInterest or onReadInterest of selectorhandler) only when async
mode is enabled or there is a callback handler.
I feel that Context.OpType should also have another type called
"OP_READ_WRITE" which would indicate that both operations were selected.
Would be useful especially when the handleReadWriteConcurrently is true.

Please let me know if i should write an Issue for this.

Thanks
-Ramesh