Class ReactionWebSocketBroadcastListener
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.services.listener.Listener<io.meeds.social.reaction.model.Reaction,String>
io.meeds.social.reaction.listener.ReactionWebSocketBroadcastListener
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin,org.exoplatform.services.listener.ListenerBase<io.meeds.social.reaction.model.Reaction,String>
@Component
public class ReactionWebSocketBroadcastListener
extends org.exoplatform.services.listener.Listener<io.meeds.social.reaction.model.Reaction,String>
Glue listener (no business logic): the like websocket message fires before
the typed reaction item is written, so remote clients refetching on it can
cache a plain like; re-emitting the same stream modification after the
reaction write gives them a post-item signal to refresh with.
-
Field Summary
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.listener.ListenerBase
getName
-
Constructor Details
-
ReactionWebSocketBroadcastListener
public ReactionWebSocketBroadcastListener()
-
-
Method Details