We try to send very quickly several commands to a non periodic component. The non periodic component is low priority. Logs show us that the commands are sent all together at first and then, only the first command is executed by the non periodic component .... what's happened for the other commands?
//the non periodic component is m_faultManager
//In the sender component:
//get the commands of the non periodic component:
m_cmdCreateFault1 = m_faultManager->commands()->getCommand
m_cmdCreateFault2 = m_faultManager->commands()->getCommand
m_cmdCreateFault3 = m_faultManager->commands()->getCommand
//send the commands
res = m_cmdCreateFault1();
res = m_cmdCreateFault2();
res = m_cmdCreateFault3();
We can see, by logs:
. only m_cmdCreateFault1 is executed
. res, sent(), accepted(), valid(), done() and executed() do not allow us to know whether the command has been successful.
If the component (m_faultManager) is periodic, all the commands are executed.
Does anybody know where is my mistake?
Thanks a lot