* @brief Sets the name and current status of this connection. * This information is sent to the kernel and can be requested * by other clients. *************************************************************/
| 1063 | * by other clients. |
| 1064 | *************************************************************/ |
| 1065 | bool Kernel::SetConnectionInfo(char const* pName, char const* pConnectionStatus, char const* pAgentStatus) |
| 1066 | { |
| 1067 | AnalyzeXML response ; |
| 1068 | bool ok = GetConnection()->SendAgentCommand(&response, sml_Names::kCommand_SetConnectionInfo, NULL, sml_Names::kConnectionName, pName, sml_Names::kConnectionStatus, pConnectionStatus, sml_Names::kAgentStatus, pAgentStatus) ; |
| 1069 | return ok ; |
| 1070 | } |
| 1071 | |
| 1072 | /************************************************************* |
| 1073 | * @brief Looks up an agent by name (from our list of known agents). |
no test coverage detected