agent_006 is a test agent that demonstrates the interconnectivity with another agent through the use of agent requests. This agent will receive a request from agent an agent and will send back a response to it.
55 cout <<
"Starting agent " << endl;
int32_t request_hello(string &request, string &response, Agent *cdata)
Definition: agent_006.cpp:78
static Agent * agent
The agent constructor.
Definition: agent_006.cpp:46
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