Package org.cometd.examples
Class CometDDemoServlet.Monitor
- java.lang.Object
-
- org.cometd.examples.CometDDemoServlet.Monitor
-
- Enclosing class:
- CometDDemoServlet
@Service("monitor") public static class CometDDemoServlet.Monitor extends Object
-
-
Constructor Summary
Constructors Constructor Description Monitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
monitorMeta(ServerSession session, ServerMessage message)
void
monitorSubscribe(ServerSession session, ServerMessage message)
void
monitorUnsubscribe(ServerSession session, ServerMessage message)
-
-
-
Method Detail
-
monitorSubscribe
@Listener("/meta/subscribe") public void monitorSubscribe(ServerSession session, ServerMessage message)
-
monitorUnsubscribe
@Listener("/meta/unsubscribe") public void monitorUnsubscribe(ServerSession session, ServerMessage message)
-
monitorMeta
@Listener("/meta/*") public void monitorMeta(ServerSession session, ServerMessage message)
-
-