* @brief If this is an embedded connection using "synchronous execution" * then we need to call this periodically to look for commands * coming in from remote sockets. * If this is a remote connection or an embedded connection * with asynch execution, commands are executed on a different * thread inside the kernel, so that thread checks for these * incomin
| 1621 | * having to call this). |
| 1622 | *************************************************************/ |
| 1623 | bool Kernel::CheckForIncomingCommands() |
| 1624 | { |
| 1625 | AnalyzeXML response ; |
| 1626 | if (GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_CheckForIncomingCommands)) |
| 1627 | { |
| 1628 | return response.GetResultBool(false) ; |
| 1629 | } |
| 1630 | |
| 1631 | return false ; |
| 1632 | } |
| 1633 | |
| 1634 | /************************************************************* |
| 1635 | * @brief See if there are any incoming messages waiting to |