|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
cgl.narada.wsinfra.wsrm.impl.WsrmSequenceMonitorImpl
This processor processes Sequences and determines if (a) Acknowledgements/Retransmissions need to be issued. (b) See if the Inactivity timeout on a sequence has expired, if so proceed to terminate the sequence.
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
protected |
WsrmSequenceMonitorImpl(String configInfo,
WsMessageFlow wsMessageFlow)
|
| Method Summary | |
boolean |
checkIfMessagesAvailable(WsrmSequenceInfo wsrmSequenceInfo)
Checks to see if any messages have been stored for this sequence in question. |
boolean |
checkInactivityTimeout(WsrmSequenceInfo wsrmSequenceInfo)
Checks to see if the inactivity interval has expired on the sequence in question. |
void |
checkToIssueAcknowledgements(WsrmSequenceInfo wsrmSequenceInfo)
This method checks to see if acknowledgements should be issued on a specific sequence. |
void |
checkToIssueRetransmissions(WsrmSequenceInfo wsrmSequenceInfo)
This method checks to see if retransmissions need to be issued on the specified sequence. |
void |
run()
|
void |
startServices()
Begin services related to sequence monitoring viz. |
void |
stopServices()
Stop services related to sequence monitoring. |
| 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 |
protected WsrmSequenceMonitorImpl(String configInfo,
WsMessageFlow wsMessageFlow)
throws WsrmStorageException
| Method Detail |
public void startServices()
startServices in interface WsrmSequenceMonitorpublic void stopServices()
stopServices in interface WsrmSequenceMonitorpublic void run()
run in interface Runnable
public boolean checkInactivityTimeout(WsrmSequenceInfo wsrmSequenceInfo)
throws WsrmStorageException
checkInactivityTimeout in interface WsrmSequenceMonitorWsrmStorageException
public boolean checkIfMessagesAvailable(WsrmSequenceInfo wsrmSequenceInfo)
throws WsrmStorageException
checkIfMessagesAvailable in interface WsrmSequenceMonitorWsrmStorageException
public void checkToIssueAcknowledgements(WsrmSequenceInfo wsrmSequenceInfo)
throws MessageFlowException,
WsrmStorageException
checkToIssueAcknowledgements in interface WsrmSequenceMonitorMessageFlowException
WsrmStorageException
public void checkToIssueRetransmissions(WsrmSequenceInfo wsrmSequenceInfo)
throws WsrmStorageException,
MessageFlowException
checkToIssueRetransmissions in interface WsrmSequenceMonitorWsrmStorageException
MessageFlowException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||