cgl.narada.wsinfra.wsr.impl
Class WsrSourceGroupMonitorImpl

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

public class WsrSourceGroupMonitorImpl
extends Thread
implements WsrSourceGroupMonitor


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
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, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
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
Overrides:
run in class Thread

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


For comments and suggestions please send e-mail to The NaradaBrokering Project