edu.uci.isr.yancees.server.plugin.subscription.correlation
Class OrPlugin
java.lang.Object
edu.uci.isr.yancees.plugin.AbstractPlugin
edu.uci.isr.yancees.server.plugin.subscription.correlation.AbstractCorrelationPlugin
edu.uci.isr.yancees.server.plugin.subscription.correlation.OrPlugin
- All Implemented Interfaces:
- PluginInterface, PluginListenerInterface
- public class OrPlugin
- 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]
Constructor Summary |
OrPlugin(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.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 |
OrPlugin
public OrPlugin(org.w3c.dom.Node subTree)
- Parameters:
subTree
- is the DOM tree this plugin is responsible for executing
evalutation of this plugin is published.
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:
object
- is the new arrived event or patternid
- is the id of the plug-in that sent the event