-
public interface ChatEventHandlerInterface that handles events related to the particular set of channels. These channels correspond to particular FilterObject. Events handler computes which kind of action EventHandlingResult should be applied to this set.
-
-
Method Summary
Modifier and Type Method Description abstract EventHandlingResulthandleChatEvent(ChatEvent event, FilterObject filter, Channel cachedChannel)Function that computes result of handling event. -
-
Method Detail
-
handleChatEvent
abstract EventHandlingResult handleChatEvent(ChatEvent event, FilterObject filter, Channel cachedChannel)
Function that computes result of handling event. It runs in background.
- Parameters:
event- ChatEvent that may contain updates for the set of channels.filter- FilterObject that can be used to define result of handling.cachedChannel- optional Channel object cached in database
-
-
-
-