Interface EventListener

  • All Implemented Interfaces:

    
    public interface EventListener
    
                        

    Listen all events - this is the standard process to handle Event that are not Action (when you need to handle them).

    You can also intercept Actions if useful.

    To be declared in BotDefinition.eventListener.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Boolean listenEvent(ConnectorController controller, ConnectorData connectorData, Event event) Listen new event.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • listenEvent

         abstract Boolean listenEvent(ConnectorController controller, ConnectorData connectorData, Event event)

        Listen new event.

        Parameters:
        controller - the controller
        connectorData - the connector specific data
        event - the new event
        Returns:

        true if the event is handled