edu.uci.isr.yancees.server.plugin.protocol.polling
Class PollProtocolPlugin
java.lang.Object
java.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
edu.uci.isr.yancees.server.rmi.RemoteAbstractProtocolPluginImplementation
edu.uci.isr.yancees.server.plugin.protocol.polling.PollProtocolPlugin
- All Implemented Interfaces:
- ProtocolPluginInterface, java.rmi.Remote, RemoteProtocolPluginInterface, java.io.Serializable
- public class PollProtocolPlugin
- extends RemoteAbstractProtocolPluginImplementation
- Author:
- rsilvafi class created at May 3, 2004
- See Also:
- Serialized Form
Nested Class Summary |
protected class |
PollProtocolPlugin.PollingMechanism
Implements a thread that periodically polls all the pull plug-ins under
the provides subscriber interface and publishes the output of this plug-in
using the events stored in the pull plug-ins. |
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 |
PollProtocolPlugin
public PollProtocolPlugin(SubscriberInterface si)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
pollEvents
public void pollEvents()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
startPeriodicPolling
public void startPeriodicPolling(int period)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
stopPolling
public void stopPolling()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
resumePolling
public void resumePolling()
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException