org.cometd.examples
Class ChatService

java.lang.Object
  extended by org.cometd.server.BayeuxService
      extended by org.cometd.examples.ChatService

public class ChatService
extends BayeuxService


Constructor Summary
ChatService(Bayeux bayeux)
           
 
Method Summary
 void handleMembership(Client client, java.util.Map<java.lang.String,java.lang.Object> data)
           
 void privateChat(Client client, java.util.Map<java.lang.String,java.lang.Object> data)
           
 
Methods inherited from class org.cometd.server.BayeuxService
exception, getBayeux, getClient, getThreadPool, isSeeOwnPublishes, send, setSeeOwnPublishes, setThreadPool, subscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatService

public ChatService(Bayeux bayeux)
Method Detail

handleMembership

public void handleMembership(Client client,
                             java.util.Map<java.lang.String,java.lang.Object> data)

privateChat

public void privateChat(Client client,
                        java.util.Map<java.lang.String,java.lang.Object> data)


Copyright © 2011 Dojo Foundation. All Rights Reserved.