View Javadoc

1   package at.ac.tuwien.infosys.sm4all.copal.service.event;
2   
3   import at.ac.tuwien.infosys.sm4all.copal.api.ContextListener;
4   
5   /**
6    * Interface which actual event system has to implement that COPAL core will use
7    * to set listener for events that were not matched by any query.
8    * 
9    * @author sanjin
10   */
11  public interface EventSystem {
12  
13      /**
14       * Sets specified context listener to receive events that were not matched
15       * by any query.
16       * 
17       * @param listener the context lister for unmatched events.
18       */
19      void setUnmatchedEventListener(ContextListener listener);
20  }