edu.uci.isr.yancees.plugin
Class RemoteAbstractProtocolPlugin
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
edu.uci.isr.yancees.plugin.RemoteAbstractProtocolPlugin
- All Implemented Interfaces:
- ProtocolPluginInterface, RemoteProtocolPluginInterface, java.io.Serializable, java.rmi.Remote
public abstract class RemoteAbstractProtocolPlugin
- extends java.rmi.server.UnicastRemoteObject
- implements RemoteProtocolPluginInterface
This abstract class defines the basic functionality of the plug-in as well
as its main attributes.
- See Also:
- Serialized Form
Fields inherited from class java.rmi.server.RemoteObject |
ref |
Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
RemoteAbstractProtocolPlugin
public RemoteAbstractProtocolPlugin(SubscriberInterface si)
throws java.rmi.RemoteException
- Parameters:
subTree
- is the DOM tree this plugin is responsible for executing
- Throws:
java.rmi.RemoteException
getId
public long getId()
- Specified by:
getId
in interface ProtocolPluginInterface
- Returns:
- the unique Id of this plugin
getTag
public java.lang.String getTag()
- Specified by:
getTag
in interface ProtocolPluginInterface
- Returns:
- the tag name that this plugin is representing. It corresponds to
the type of this plugin instance. For example, if this is a plug-in that handles
a subtree headed by the tag, its type will be "followed-by"
notifySubscriber
protected void notifySubscriber(EventInterface event)
notifySybscriber
protected void notifySybscriber(EventInterface[] eventList)