In the cometd chat application that comes with Jetty 6 there is a message
sent that contains a list of users that are currently subscribed to the chat
when a client joins the chat channel. Is there a server side client that
generates that message? Where is the logic for that?
Regards,
- Bjarki
Hi Bjarki
The code for the server side is in
http://svn.codehaus.org/jetty-contrib/branches/jetty-6.1.x/contrib/cometd/demo/src/main/java/org/cometd/demo/ChatService.java
this class is instantiated by
Note that some of the new event listener APIs added in the trunk will make such thing
easier, as you can listen for subscribe events etc.
cheers