Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

CatTask v2009 ProcessControllerReport: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Wikicatglobe (talk | contribs)
No edit summary
Ā 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<accesscontrol>Administrators,,Cem,,Maysunshine</accesscontrol>
<accesscontrol>Main:MyGroup</accesscontrol>
[[Category:Guidelines]]
[[Category:Miscellaneous]]
== ProcessControllerReportĀ  ==
== ProcessControllerReportĀ  ==



Latest revision as of 10:36, 17 October 2013

<accesscontrol>Main:MyGroup</accesscontrol>

ProcessControllerReport

This is rather obsolete. I will finish it later.

Well, we have a lot of things to do in this function. It deserves its own section.

A ControllerReport is sent when:

  • A Controller replies to a LD whether it is an activeĀ Controller. Correlative message should be a ControllerMessage.
  • A Controller replies to a LD if it has sent a message to a correct active Controller.

Therefore, the implementation should be:

  1. Use the CorrelationId to find the original message
  2. If not found: END.
  3. IfĀ the correlative messageĀ is a ControllerMessage:
    • If IsActiveController = yes: the LD updatesĀ its activeControllerEndPoint field to the end point of queue from where the received message was sent.
    • If IsActiveController = no: ignore.
  4. If the correlative message is a TaskMessage:
    • If IsActiveController = yes: update the DeliveryStatus of the stored-to-keep-track-of message.
    • If IsActiveController = no: see the flow below

Ā 

IsActiveController