|  | 
|  | Agent (const string &node_name="", const string &agent_name="", double bprd=0., uint32_t bsize=AGENTMAXBUFFER, bool mflag=false, int32_t portnum=0, NetworkType ntype=NetworkType::UDP, uint16_t dlevel=1) | 
|  | 
|  | ~Agent () | 
|  | 
| int32_t | start () | 
|  | Start Agent Request and Heartbeat loops.  More... 
 | 
|  | 
| int32_t | start_active_loop () | 
|  | 
| int32_t | finish_active_loop () | 
|  | 
| 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.  More... 
 | 
|  | 
| int32_t | send_request (beatstruc cbeat, string request, string &output, float waitsec=5.) | 
|  | Send a request over AGENT.  More... 
 | 
|  | 
| int32_t | send_request_jsonnode (beatstruc cbeat, jsonnode &jnode, float waitsec=5.) | 
|  | Send request for Node JSON.  More... 
 | 
|  | 
| int32_t | get_agent (string node, string agent, double waitsec, beatstruc &cbeat) | 
|  | Get specific server.  More... 
 | 
|  | 
| int32_t | check_agent (string node, string agent, double waitsec) | 
|  | Check agent.  More... 
 | 
|  | 
| beatstruc | find_agent (string node, string agent, double waitsec=0.) | 
|  | Find agent.  More... 
 | 
|  | 
| vector< beatstruc > | find_agents (double waitsec=0.) | 
|  | Find single server.  More... 
 | 
|  | 
| uint16_t | running () | 
|  | Check if we're supposed to be running.  More... 
 | 
|  | 
| int32_t | wait (State state=State::RUN, double waitsec=10.) | 
|  | 
| int32_t | last_error () | 
|  | 
| int32_t | set_sohstring (string list) | 
|  | Set Limited SOH string.  More... 
 | 
|  | 
| int32_t | set_fullsohstring (string list) | 
|  | Set Full SOH string.  More... 
 | 
|  | 
| cosmosstruc * | get_cosmosstruc () | 
|  | Return Agent cosmosstruc.  More... 
 | 
|  | 
| void | get_ip (char *buffer, size_t buflen) | 
|  | 
| void | get_ip_list (uint16_t port) | 
|  | 
| int32_t | unpublish () | 
|  | Close COSMOS output channel.  More... 
 | 
|  | 
| int32_t | post (messstruc mess) | 
|  | Post a Cosmos::Agent::messstruc.  More... 
 | 
|  | 
| int32_t | post (AgentMessage type, string message="") | 
|  | Post a JSON message.  More... 
 | 
|  | 
| int32_t | post (AgentMessage type, vector< uint8_t > message) | 
|  | Post a binary message.  More... 
 | 
|  | 
| int32_t | post_beat () | 
|  | 
| int32_t | post_soh () | 
|  | 
| int32_t | publish (NetworkType type, uint16_t port) | 
|  | Open COSMOS output channel.  More... 
 | 
|  | 
| int32_t | subscribe (NetworkType type, const char *address, uint16_t port) | 
|  | Open COSMOS channel for polling with 100 usec timeout.  More... 
 | 
|  | 
| int32_t | subscribe (NetworkType type, const char *address, uint16_t port, uint32_t usectimeo) | 
|  | Open COSMOS channel for polling.  More... 
 | 
|  | 
| int32_t | unsubscribe () | 
|  | Close COSMOS subscription channel.  More... 
 | 
|  | 
| int32_t | poll (messstruc &mess, AgentMessage type, float waitsec=1.) | 
|  | Listen for message.  More... 
 | 
|  | 
| int32_t | readring (messstruc &message, AgentMessage type=Agent::AgentMessage::ALL, float waitsec=1., Where where=Where::TAIL, string proc="", string node="") | 
|  | Check Ring for message.  More... 
 | 
|  | 
| int32_t | parsering (AgentMessage type=Agent::AgentMessage::ALL, float waitsec=1., Where where=Where::HEAD, string proc="", string node="") | 
|  | Parse next message from ring.  More... 
 | 
|  | 
| int32_t | resizering (size_t newsize) | 
|  | 
| int32_t | clearring () | 
|  | 
| int | json_map_agentstruc (agentstruc **agent) | 
|  | 
| vector< socket_channel > | find_addresses (NetworkType ntype) | 
|  | Discover interfaces.  More... 
 | 
|  | 
| int32_t | shutdown () | 
|  | Shutdown agent gracefully.  More... 
 | 
|  | 
| int32_t | send (uint8_t address, string message) | 
|  | 
| int32_t | receive (uint8_t address, string &message) | 
|  | 
| int32_t | receiveAll (uint8_t address, string &message) | 
|  | 
| string | getNode () | 
|  | Listen for heartbeat.  More... 
 | 
|  | 
| string | getAgent () | 
|  | 
| int32_t | getJson (string node, jsonnode &jnode) | 
|  | 
| int32_t | set_agent_time_producer (double(*source)()) | 
|  | 
| int32_t | get_agent_time (double &agent_time, double &epsilon, double &delta, string agent, string node="any", double wait_sec=2.) | 
|  | 
| void | log (string log_entry) | 
|  | 
| bool | setSoh (string sohFields) | 
|  | 
| FILE * | get_debug_fd (double mjd=0.) | 
|  | 
| int32_t | close_debug_fd () | 
|  | 
|  | 
| static int32_t | req_forward (string &request, string &response, Agent *agent) | 
|  | Built-in Forward request.  More... 
 | 
|  | 
| static int32_t | req_echo (string &request, string &response, Agent *agent) | 
|  | Built-in Echo request.  More... 
 | 
|  | 
| static int32_t | req_help (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_help_json (string &request, string &response, Agent *agent) | 
|  | Built-in Help request.  More... 
 | 
|  | 
| static int32_t | req_shutdown (string &request, string &response, Agent *agent) | 
|  | Built-in Set state to Shutdown request.  More... 
 | 
|  | 
| static int32_t | req_idle (string &request, string &response, Agent *agent) | 
|  | Built-in Set state to Idle request.  More... 
 | 
|  | 
| static int32_t | req_init (string &request, string &response, Agent *agent) | 
|  | Built-in Set state to Init request.  More... 
 | 
|  | 
| static int32_t | req_monitor (string &request, string &response, Agent *agent) | 
|  | Built-in Set state to Monitor request.  More... 
 | 
|  | 
| static int32_t | req_reset (string &request, string &response, Agent *agent) | 
|  | Built-in Set state to Reset request.  More... 
 | 
|  | 
| static int32_t | req_run (string &request, string &response, Agent *agent) | 
|  | Built-in Set state to Run request.  More... 
 | 
|  | 
| static int32_t | req_status (string &request, string &response, Agent *agent) | 
|  | Built-in Status request.  More... 
 | 
|  | 
| static int32_t | req_debug_level (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_getvalue (string &request, string &response, Agent *agent) | 
|  | Built-in Get Internal Value request.  More... 
 | 
|  | 
| static int32_t | req_get_value (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_get_time (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_get_position (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_get_position_data (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_setvalue (string &request, string &response, Agent *agent) | 
|  | Built-in Set Internal Value request.  More... 
 | 
|  | 
| static int32_t | req_set_value (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_listnames (string &request, string &response, Agent *agent) | 
|  | Built-in List Name Space Names request.  More... 
 | 
|  | 
| static int32_t | req_nodejson (string &request, string &response, Agent *agent) | 
|  | Built-in Return Node JSON request.  More... 
 | 
|  | 
| static int32_t | req_statejson (string &request, string &response, Agent *agent) | 
|  | Built-in Return State Vector JSON request.  More... 
 | 
|  | 
| static int32_t | req_utcstartjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return UTC Start Time JSON request.  More... 
 | 
|  | 
| static int32_t | req_piecesjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return Pieces JSON request.  More... 
 | 
|  | 
| static int32_t | req_vertexsjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return Vertex JSON request.  More... 
 | 
|  | 
| static int32_t | req_facesjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return Face JSON request.  More... 
 | 
|  | 
| static int32_t | req_devgenjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return devgen JSON request.  More... 
 | 
|  | 
| static int32_t | req_devspecjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return devspec JSON request.  More... 
 | 
|  | 
| static int32_t | req_portsjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return Ports JSON request.  More... 
 | 
|  | 
| static int32_t | req_targetsjson (string &request, string &response, Agent *agent) | 
|  | Built-in Return Target JSON request.  More... 
 | 
|  | 
| static int32_t | req_heartbeat (string &request, string &response, Agent *agent) | 
|  | Built-in Send Heartbeat request.  More... 
 | 
|  | 
| static int32_t | req_postsoh (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_utc (string &request, string &response, Agent *agent) | 
|  | 
| static int32_t | req_soh (string &, string &response, Agent *agent) | 
|  | 
| static int32_t | req_fullsoh (string &, string &response, Agent *agent) | 
|  | 
| static int32_t | req_jsondump (string &, string &response, Agent *agent) | 
|  |