Constructor and Description |
---|
ChatService() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureChatStarStar(ConfigurableServerChannel channel) |
protected void |
configureMembers(ConfigurableServerChannel channel) |
protected void |
configurePrivateChat(ConfigurableServerChannel channel) |
void |
handleMembership(ServerSession client,
ServerMessage message) |
void |
privateChat(ServerSession client,
ServerMessage message) |
@Configure(value={"/chat/**","/members/**"}) protected void configureChatStarStar(ConfigurableServerChannel channel)
@Configure(value="/service/members") protected void configureMembers(ConfigurableServerChannel channel)
@Listener(value="/service/members") public void handleMembership(ServerSession client, ServerMessage message)
@Configure(value="/service/privatechat") protected void configurePrivateChat(ConfigurableServerChannel channel)
@Listener(value="/service/privatechat") public void privateChat(ServerSession client, ServerMessage message)
Copyright © 2008–2024 The CometD Project. All rights reserved.