edu.uci.isr.yancees.plugin.subscription
Class SubscriptionPlugin

java.lang.Object
  extended by edu.uci.isr.yancees.plugin.AbstractMOPlugin
      extended by edu.uci.isr.yancees.plugin.subscription.SubscriptionPlugin
All Implemented Interfaces:
MOPluginInterface, MOPluginListenerInterface, PluginInterface

public class SubscriptionPlugin
extends AbstractMOPlugin


Field Summary
 
Fields inherited from class edu.uci.isr.yancees.plugin.AbstractMOPlugin
myListeners, myRequiredPlugins
 
Constructor Summary
SubscriptionPlugin(SubscriberInterface si, SubscriptionInterface sub, org.w3c.dom.Node subTree)
           
 
Method Summary
protected  void finalize()
           
 void receivePluginNotification(EventInterface[] evtList, MOPluginInterface source)
          Receives a list of events as notifications from another plug-in
 void receivePluginNotification(EventInterface evt, MOPluginInterface source)
          Receives a notification from another plug-in
 
Methods inherited from class edu.uci.isr.yancees.plugin.AbstractMOPlugin
addListener, addRequiredPlugin, dispose, getExpectedPluginIDs, getFullContext, getFullPath, getId, getRequiredPluginsList, getSubscriber, getSubscription, 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

SubscriptionPlugin

public SubscriptionPlugin(SubscriberInterface si,
                          SubscriptionInterface sub,
                          org.w3c.dom.Node subTree)
Parameters:
subTree - is the DOM tree this plugin is responsible for executing Evaluation of this plugin is published.
Method Detail

receivePluginNotification

public void receivePluginNotification(EventInterface evt,
                                      MOPluginInterface source)
Receives a notification from another plug-in

Specified by:
receivePluginNotification in interface MOPluginListenerInterface
Specified by:
receivePluginNotification in class AbstractMOPlugin
Parameters:
evt - is the event received
source - is the plug-in sending the notification.

receivePluginNotification

public void receivePluginNotification(EventInterface[] evtList,
                                      MOPluginInterface source)
Receives a list of events as notifications from another plug-in

Specified by:
receivePluginNotification in interface MOPluginListenerInterface
Specified by:
receivePluginNotification in class AbstractMOPlugin
Parameters:
evtList - is the list of events received
source - is the plug-in sending the notification.

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class AbstractMOPlugin
Throws:
java.lang.Throwable