users@grizzly.java.net

Re: [Q] how to determine selector's connected clients

From: ALT Mobile DEV <dev_at_altmobile.com>
Date: Mon, 11 Feb 2008 18:28:57 -0500

Hi and thanks for the reply.

I'm using today's build without luck :-(

--Zaid




On Feb 11, 2008, at 4:14 PM, Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM
> wrote:

> Hi,
>
> ALT Mobile DEV wrote:
>> Hi,
>> When using embedded Grizzly and Grizzlets, I would like to know are
>> there any Comet/parked connections. Even though I am pushing
>> content to Comet clients, I always get 0 for the following:
>> aSelectorThread.getSelector(aRequest.getServerPort
>> ()).getKeepAliveCounter().size() aSelectorThread.getSelector
>> (aRequest.getServerPort()).getKeepAliveStats().getCountConnections()
>
>
> You should see those when getCountConnections() is invoked. Which
> version are you using? I've fixed one issue last week:
>
> https://grizzly.dev.java.net/issues/show_bug.cgi?id=46
>
> Thanks!
>
> -- Jeanfrancois
>
>
>
>> What's the correct way to determine Comet connections from within a
>> Grizzlet?
>> thanks.
>> --Zaid
>> ALT Mobile
>> http://altmobile.com/Home.html (web site)
>> http://web.mac.com/altmobile/ (official blog)
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>