...
Design of a CONTROLLOOP_STATECHANGE_ACK message is similar to CONTROLLOOP_UPDATE_ACK
Solution Design of retry, timeout, and reporting for all Participant message dialogues
Design of startPhase into monitoring execution in SupervisionScanner
Monitoring is designed to process the follow operations:
- determination of the next startPhase in a CONTROLLOOP_UPDATE message.
- upgrade CL state: in a scenario that CL state are in kind if transitional state (example UNINITIALISED2PASSIVE), if all CL-elements are moved properly to the specific state, the CL will be upgrade to that.
- retry CONTROLLOOP_UPDATE/CONTROL_LOOP_STATE_CHANGE messages.
- phaseMap is map that contains (CL -> last startPhase sent)
- during the monitoring is calculate the the minimum startPhase where the status of a Element is not equal to the orderstatus (minSpNotCompleted).
- if the last startPhase sent is different to minSpNotCompleted and CL order status is UNINITIALISED2PASSIVE then send the CONTROLLOOP_UPDATE message with minSpNotCompleted as startPhase
Design of a monitoring execution in SupervisionScanner
- for each CL
- check if the status of the CL is equal to the order status; if they are equal, clear the monitoring counter for this CL and continue the loop.
- for each CL Element check if the status of an Element are equal to the orderstatus
- if all CL Element status are equal to the orderstatus, update the CL status, clear the monitoring counter for this control loop and continue the loop.
- the message CONTROLLOOP_UPDATE/CONTROL_LOOP_STATE_CHANGE to participant will be sent if:
...