users@grizzly.java.net

Re: get the SocketChannel

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Mon, 04 Jun 2007 11:50:46 +0200

Hello Karsten,

theoretically SelectorHandler could be any... But in that case you will
need to write your Controller, which will ask for coming socket events
in the loop.
So the right way is to use SelectorHandler, which is processed by
Controller.

WBR,
Alexey.

Karsten Ohme wrote:
> Hi,
>
> in the class TCPConnectorHandler there is a method for setting the
> Controller setController. Can the controller be independent from the
> SelectorHandler?
> Or must the SelectorHandler be taken from the Connector in this method?
>
> Regards,
> Karsten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>