users@grizzly.java.net

Re: Am I crazy? Yes...

From: Paul.M <paul.mattheis_at_gmail.com>
Date: Thu, 4 Feb 2010 06:02:23 -0800 (PST)

Looking at this another way... Just adding a listener to the "server". It
looks like you can get a cometContext and add a listener to that. Is that
how I could get the messages (into java) so I can do stuff with them?



survivant wrote:
>
> sorry but I can,t help with this one.
>
>
>
> 2010/2/3 Paul.M <paul.mattheis_at_gmail.com>
>
>>
>> Thanks :)
>>
>> Now I realized I have a follow-up question. I have a situation where I
>> want
>> the clients to send a message to the server, have the server get it, but
>> none of the children. Then I want the server to send back a different
>> message to all the clients.
>>
>> client1 -> I moved -> (Server: Update position) -> send new position to
>> all
>> clients.
>>
>> I've seen examples that somehow use a servlet to act as a listener, but I
>> would rather just set up a listener. Can I publish messages on a channel
>> I
>> haven't subscribed to? Otherwise, I need a way to capture the inbound
>> message at the server, eat it, and later publish a new message to the
>> channel.
>>
>> I'm looking for an example of a server side java listener for channels.
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Am-I-crazy--Yes...-tp27316206p27439215.html
>> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>
>>
>
>
> --
> -------------
> A+
>
> Sébastien.
>
> Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
> http://twitter.com/survivant
>
>

-- 
View this message in context: http://old.nabble.com/Am-I-crazy--Yes...-tp27316206p27452197.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.