agent_004 is an example of a request handler.
58 cout <<
"Starting agent_004" << endl;
int32_t request_hello(string &request, string &response, Agent *cdata)
The function to handle the "hello" request.
Definition: agent_004.cpp:85
static Agent * agent
The agent constructor.
Definition: agent_004.cpp:50
uint16_t running()
Check if we're supposed to be running.
Definition: agentclass.cpp:391
string agentname
Definition: agent_add_soh.cpp:53
int32_t add_request(string token, external_request_function function, string synopsis="", string description="")
Add internal request to Agent request list with description and synopsis.
Definition: agentclass.cpp:312
Definition: agentclass.h:139
string nodename
Definition: agent_add_soh.cpp:54