Package 

Interface ChatEventHandler


  • 
    public interface ChatEventHandler
    
                        

    Interface 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 EventHandlingResult handleChatEvent(ChatEvent event, FilterObject filter, Channel cachedChannel) Function that computes result of handling event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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