cgl.narada.wsinfra.wsr.impl
Class WsrSourceGroupMonitorImpl

java.lang.Object
  extended byjava.lang.Thread
      extended bycgl.narada.wsinfra.wsr.impl.WsrSourceGroupMonitorImpl
All Implemented Interfaces:
Runnable, WsrSourceGroupMonitor

public class WsrSourceGroupMonitorImpl
extends Thread
implements WsrSourceGroupMonitor


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
protected WsrSourceGroupMonitorImpl(String configInfo, WsMessageFlow wsMessageFlow)
           
 
Method Summary
 boolean checkIfMessagesAvailable(WsrGroupInfoImpl wsrGroupInfoImpl)
           
 void checkToIssueRetransmissions(WsrGroupInfoImpl wsrGroupInfoImpl)
           
 void run()
           
 void startServices()
           
 void stopServices()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsrSourceGroupMonitorImpl

protected WsrSourceGroupMonitorImpl(String configInfo,
                                    WsMessageFlow wsMessageFlow)
                             throws WsrStorageException,
                                    DeploymentException
Method Detail

startServices

public void startServices()
Specified by:
startServices in interface WsrSourceGroupMonitor

stopServices

public void stopServices()
Specified by:
stopServices in interface WsrSourceGroupMonitor

run

public void run()
Specified by:
run in interface Runnable

checkIfMessagesAvailable

public boolean checkIfMessagesAvailable(WsrGroupInfoImpl wsrGroupInfoImpl)
                                 throws WsrStorageException
Specified by:
checkIfMessagesAvailable in interface WsrSourceGroupMonitor
Throws:
WsrStorageException

checkToIssueRetransmissions

public void checkToIssueRetransmissions(WsrGroupInfoImpl wsrGroupInfoImpl)
                                 throws WsrStorageException,
                                        MessageFlowException
Specified by:
checkToIssueRetransmissions in interface WsrSourceGroupMonitor
Throws:
WsrStorageException
MessageFlowException