John ROM wrote:
> Hi Jeanfrancois,
>>> So more a Context.detach(); So I wonder if you could do somethink like:
>>> suspend() {
>>> detach();
>>> ctx.setKeyRegistrationState(KeyRegistrationState.NONE))
>> Here you means KeyRegistrationState,REGISTER, right?
>>
> Ups yes for sure!
>> So in your case I would think you can do:
>>
>> Context.suspend();
>> Thread.detach();
>
> // We suspend, but we still want to get OP_READ event
>> ctx.setKeyRegistrationState(KeyRegistrationState.REGISTER);
>
>
>> How does it sound? Let me know as I will make sure I can support your
>> scenario before commiting the code :-)
> Terrific!
>
> No super many thanks!!,
> It will make my code cleaner!!
Done. Available as 1.8.2-SNAPSHOT :-)
A+
-- Jeanfrancois
>
>