users@grizzly.java.net

Re: WG: Re: WG: Re: Asynchronous Request Processing with TCPIP

From: John ROM <snake-john_at_gmx.de>
Date: Fri, 04 Jul 2008 19:55:16 +0200

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!!


-- 
Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
Der Eine für Alle: http://www.gmx.net/de/go/messenger03
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser