@Service("chat") public class ChatService extends java.lang.Object
Constructor | Description |
---|---|
ChatService() |
Modifier and Type | Method | Description |
---|---|---|
protected void |
configureChatStarStar(org.cometd.bayeux.server.ConfigurableServerChannel channel) |
|
protected void |
configureMembers(org.cometd.bayeux.server.ConfigurableServerChannel channel) |
|
protected void |
configurePrivateChat(org.cometd.bayeux.server.ConfigurableServerChannel channel) |
|
void |
handleMembership(org.cometd.bayeux.server.ServerSession client,
org.cometd.bayeux.server.ServerMessage message) |
|
void |
privateChat(org.cometd.bayeux.server.ServerSession client,
org.cometd.bayeux.server.ServerMessage message) |
@Configure({"/chat/**","/members/**"}) protected void configureChatStarStar(org.cometd.bayeux.server.ConfigurableServerChannel channel)
@Configure("/service/members") protected void configureMembers(org.cometd.bayeux.server.ConfigurableServerChannel channel)
@Listener("/service/members") public void handleMembership(org.cometd.bayeux.server.ServerSession client, org.cometd.bayeux.server.ServerMessage message)
@Configure("/service/privatechat") protected void configurePrivateChat(org.cometd.bayeux.server.ConfigurableServerChannel channel)
@Listener("/service/privatechat") public void privateChat(org.cometd.bayeux.server.ServerSession client, org.cometd.bayeux.server.ServerMessage message)
Copyright © 2008–2017 The CometD Project. All rights reserved.