users@grizzly.java.net

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

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 12 Feb 2008 17:10:56 -0500

Salut,

ALT Mobile DEV wrote:
> Hi and thanks for the reply.
>
> I'm using today's build without luck :-(

Can you file an issue just in case my memory get erased :-)

https://grizzly.dev.java.net/issues/


Thanks!

-- Jeanfrancois


>
> --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
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>