edu.uci.isr.yancees.server.plugin.subscription.correlation
Class ThenPlugin

java.lang.Object
  extended byedu.uci.isr.yancees.plugin.AbstractPlugin
      extended byedu.uci.isr.yancees.server.plugin.subscription.correlation.AbstractCorrelationPlugin
          extended byedu.uci.isr.yancees.server.plugin.subscription.correlation.ThenPlugin
All Implemented Interfaces:
PluginInterface, PluginListenerInterface

public class ThenPlugin
extends AbstractCorrelationPlugin

This plug-in detects the orrurrence of two or more events A and B and C... such that all events must happen but the order is not enforced Additionally, the within and after clauses can be enforced A and B within 10 min means that the whole and clause must be matched within this time frame, otherwise, the match is not valid A and B after 1 min means that between either event there must be a gap of 1 minute.

Author:
Roberto Silveira Silva Filho [rsilvafi@ics.uci.edu]

Field Summary
 
Fields inherited from class edu.uci.isr.yancees.server.plugin.subscription.correlation.AbstractCorrelationPlugin
AFTER_ATTRIBUTE_TAG, WITHIN_ATTRIBUTE_TAG
 
Fields inherited from class edu.uci.isr.yancees.plugin.AbstractPlugin
myListeners, myRequiredPlugins
 
Constructor Summary
ThenPlugin(org.w3c.dom.Node subTree)
           
 
Method Summary
protected  void processObject(java.lang.Object object, long id)
          A new event came from a given source (represented from its id).
 
Methods inherited from class edu.uci.isr.yancees.server.plugin.subscription.correlation.AbstractCorrelationPlugin
getPluginIdIndex, receivePluginNotification, receivePluginNotification
 
Methods inherited from class edu.uci.isr.yancees.plugin.AbstractPlugin
addListener, addRequiredPlugin, dispose, finalize, getExpectedPluginIDs, getFullContext, getFullPath, getId, getRequiredPluginsList, getSubtree, getTag, hasChildren, publishOutput, publishOutput, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThenPlugin

public ThenPlugin(org.w3c.dom.Node subTree)
Parameters:
subTree - is the DOM tree this plugin is responsible for executing evalutation of this plugin is published.
Method Detail

processObject

protected void processObject(java.lang.Object object,
                             long id)
A new event came from a given source (represented from its id).

Specified by:
processObject in class AbstractCorrelationPlugin
Parameters:
id - is the id of the plug-in that sent the event