users@grizzly.java.net

disableIOEvent read

From: Ben-Yosef Efrat <Efrat.Ben-Yosef_at_comverse.com>
Date: Wed, 4 Feb 2015 14:42:42 +0000

Hello

I want to simulate a synchronic behavior so when client issues two commands at once, when the first command is still executing. Flow is:



1. Client issues command

2. On handleRead() I perform, connection. disableIOEvent(IOEvent.READ)

3. Command is executing (sleeps)

4. Client issues another command - I would expect that the handleRead() will not be called until connection. enableIOEvent(IOEvent.READ) is called. However, the handleRead() is called anyway.


Am I missing something?
Thanks
Efrat
________________________________
"This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Inc. or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: security_at_comverse.com. Thank You."