Package org.cometd.examples
Class ChatService
- java.lang.Object
-
- org.cometd.examples.ChatService
-
-
Constructor Summary
Constructors Constructor Description ChatService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
configureChatStarStar
@Configure({"/chat/**","/members/**"}) protected void configureChatStarStar(ConfigurableServerChannel channel)
-
configureMembers
@Configure("/service/members") protected void configureMembers(ConfigurableServerChannel channel)
-
handleMembership
@Listener("/service/members") public void handleMembership(ServerSession client, ServerMessage message)
-
configurePrivateChat
@Configure("/service/privatechat") protected void configurePrivateChat(ConfigurableServerChannel channel)
-
privateChat
@Listener("/service/privatechat") public void privateChat(ServerSession client, ServerMessage message)
-
-