edu.uci.isr.yancees.plugin
Interface ProtocolPluginInterface

All Superinterfaces:
java.rmi.Remote
All Known Subinterfaces:
RemoteProtocolPluginInterface
All Known Implementing Classes:
AbstractProtocolPlugin, RemoteAbstractProtocolPlugin, RemoteAbstractProtocolPluginImplementation

public interface ProtocolPluginInterface
extends java.rmi.Remote

This class implements a generic protocol plugin interface, which is not message oriented. In other words, it is based on method invocation, remotely implemented through RMI, as opposed to XML messages. If RMI is used as the remote interaction protocol between the plug-in and the client, a class needs to implement the RMI remote interface too.


Method Summary
 long getId()
           
 java.lang.String getTag()
           
 

Method Detail

getId

long getId()
           throws java.rmi.RemoteException
Returns:
the unique Id of this plugin
Throws:
java.rmi.RemoteException

getTag

java.lang.String getTag()
                        throws java.rmi.RemoteException
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"
Throws:
java.rmi.RemoteException