Class AnalyticsWebSocketListener
java.lang.Object
io.meeds.analytics.api.websocket.listener.AnalyticsWebSocketListener
- All Implemented Interfaces:
EventListener,org.cometd.bayeux.Bayeux.BayeuxListener,org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener,org.cometd.bayeux.server.ServerChannel.MessageListener
public class AnalyticsWebSocketListener
extends Object
implements org.cometd.bayeux.server.ServerChannel.MessageListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener
org.cometd.bayeux.server.ConfigurableServerChannel.ServerChannelListener.Weak -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAnalyticsWebSocketListener(AnalyticsWebSocketService analyticsWebSocketService, org.exoplatform.services.listener.ListenerService listenerService) -
Method Summary
Modifier and TypeMethodDescriptionbooleanonMessage(org.cometd.bayeux.server.ServerSession from, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage.Mutable message) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cometd.bayeux.server.ServerChannel.MessageListener
onMessage
-
Field Details
-
EXO_ANALYTICS_MESSAGE_EVENT
- See Also:
-
-
Constructor Details
-
AnalyticsWebSocketListener
public AnalyticsWebSocketListener(AnalyticsWebSocketService analyticsWebSocketService, org.exoplatform.services.listener.ListenerService listenerService)
-
-
Method Details
-
onMessage
public boolean onMessage(org.cometd.bayeux.server.ServerSession from, org.cometd.bayeux.server.ServerChannel channel, org.cometd.bayeux.server.ServerMessage.Mutable message) - Specified by:
onMessagein interfaceorg.cometd.bayeux.server.ServerChannel.MessageListener
-