cgl.narada.wsinfra.wsrm
Interface WsrmSequenceMonitor

All Known Implementing Classes:
WsrmSequenceMonitorImpl

public interface WsrmSequenceMonitor

This is a class which will implemented as a thread. There should be only one instance of this thread running per database. This would typically be done by ensuring that the configuration files passed during the initializations are different for different configFiles.


Method Summary
 boolean checkIfMessagesAvailable(WsrmSequenceInfo wsrmSequenceInfo)
           
 boolean checkInactivityTimeout(WsrmSequenceInfo wsrmSequenceInfo)
           
 void checkToIssueAcknowledgements(WsrmSequenceInfo wsrmSequenceInfo)
           
 void checkToIssueRetransmissions(WsrmSequenceInfo wsrmSequenceInfo)
           
 void startServices()
           
 void stopServices()
           
 

Method Detail

startServices

public void startServices()

stopServices

public void stopServices()

checkInactivityTimeout

public boolean checkInactivityTimeout(WsrmSequenceInfo wsrmSequenceInfo)
                               throws WsrmStorageException
Throws:
WsrmStorageException

checkIfMessagesAvailable

public boolean checkIfMessagesAvailable(WsrmSequenceInfo wsrmSequenceInfo)
                                 throws WsrmStorageException
Throws:
WsrmStorageException

checkToIssueAcknowledgements

public void checkToIssueAcknowledgements(WsrmSequenceInfo wsrmSequenceInfo)
                                  throws MessageFlowException,
                                         WsrmStorageException
Throws:
MessageFlowException
WsrmStorageException

checkToIssueRetransmissions

public void checkToIssueRetransmissions(WsrmSequenceInfo wsrmSequenceInfo)
                                 throws WsrmStorageException,
                                        MessageFlowException
Throws:
WsrmStorageException
MessageFlowException