@Service(value="monitor") public static class CometDDemoServlet.Monitor extends Object
Constructor and Description |
---|
Monitor() |
Modifier and Type | Method and Description |
---|---|
void |
monitorMeta(ServerSession session,
ServerMessage message) |
void |
monitorSubscribe(ServerSession session,
ServerMessage message) |
void |
monitorUnsubscribe(ServerSession session,
ServerMessage message) |
@Listener(value="/meta/subscribe") public void monitorSubscribe(ServerSession session, ServerMessage message)
@Listener(value="/meta/unsubscribe") public void monitorUnsubscribe(ServerSession session, ServerMessage message)
@Listener(value="/meta/*") public void monitorMeta(ServerSession session, ServerMessage message)
Copyright © 2008–2024 The CometD Project. All rights reserved.