* @brief Register for a particular event at the kernel *************************************************************/
| 1654 | * @brief Register for a particular event at the kernel |
| 1655 | *************************************************************/ |
| 1656 | void Kernel::RegisterForEventWithKernel(int id, char const* pAgentName) |
| 1657 | { |
| 1658 | AnalyzeXML response ; |
| 1659 | |
| 1660 | char const* pEvent = m_pEventMap->ConvertToString(id) ; |
| 1661 | |
| 1662 | // Send the register command |
| 1663 | GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_RegisterForEvent, pAgentName, sml_Names::kParamEventID, pEvent) ; |
| 1664 | } |
| 1665 | |
| 1666 | /************************************************************* |
| 1667 | * @brief Unregister for a particular event at the kernel |
no test coverage detected