edu.uci.isr.yancees.server.plugin.protocol.polling
Class PollProtocolPlugin

java.lang.Object
  extended byjava.rmi.server.RemoteObject
      extended byjava.rmi.server.RemoteServer
          extended byjava.rmi.server.UnicastRemoteObject
              extended byedu.uci.isr.yancees.server.rmi.RemoteAbstractProtocolPluginImplementation
                  extended byedu.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.
 
Field Summary
 
Fields inherited from class edu.uci.isr.yancees.server.rmi.RemoteAbstractProtocolPluginImplementation
subscriber
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Constructor Summary
PollProtocolPlugin(SubscriberInterface si)
           
 
Method Summary
 void pollEvents()
           
 void resumePolling()
           
 void startPeriodicPolling(int period)
           
 void stopPolling()
           
 
Methods inherited from class edu.uci.isr.yancees.server.rmi.RemoteAbstractProtocolPluginImplementation
getId, getTag, notifySubscriber, notifySybscriber
 
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
 

Constructor Detail

PollProtocolPlugin

public PollProtocolPlugin(SubscriberInterface si)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

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