COSMOS core  1.0.2 (beta)
Comprehensive Open-architecture Solution for Mission Operations Systems
agentclass.h File Reference

Agent Server and Client header file. More...

Include dependency graph for agentclass.h:

Go to the source code of this file.

Classes

class  Cosmos::Support::Agent
 
struct  Cosmos::Support::Agent::beatstruc_list
 
struct  Cosmos::Support::Agent::pollstruc
 
struct  Cosmos::Support::Agent::messstruc
 Storage for messages. More...
 
struct  Cosmos::Support::Agent::request_entry
 

Namespaces

 Cosmos
 
 Cosmos::Support
 

Macros

#define AGENT_MULTIPLE   true
 Multiple agents per name. More...
 
#define AGENT_SINGLE   false
 Single agent per name. More...
 
#define AGENT_BLOCKING   SOCKET_BLOCKING
 Blocking Agent. More...
 
#define AGENT_NONBLOCKING   SOCKET_NONBLOCKING
 Non-blocking Agent. More...
 
#define AGENT_TALK   SOCKET_TALK
 Talk followed by optional listen (sendto address) More...
 
#define AGENT_LISTEN   SOCKET_LISTEN
 Listen followed by optional talk (recvfrom INADDRANY) More...
 
#define AGENT_COMMUNICATE   SOCKET_COMMUNICATE
 Communicate socket (sendto followed by recvfrom) More...
 
#define AGENT_JABBER   SOCKET_JABBER
 Talk over multiple interfaces. More...
 
#define AGENTBASE   10020
 Base AGENT port number. More...
 
#define AGENTSENDPORT   10020
 Default SEND port. More...
 
#define AGENTRECVPORT   10021
 Default RECV port. More...
 
#define AGENTMCAST   "225.1.1.1"
 AGENT heartbeat Multicast address. More...
 
#define AGENTMAXLIST   500
 Maximum AGENT server list count. More...
 
#define AGENTMAXHEARTBEAT   200
 Maximum AGENT heartbeat size. More...
 
#define AGENTRCVTIMEO   100000
 Default AGENT socket RCVTIMEO (100 msec) More...
 
#define AGENT_HEARTBEAT_PERIOD_MIN   0.01
 Default minium heartbeat period (10 msec) More...
 
#define MESSAGE_RING_SIZE   100
 Default size of message ring buffer. More...
 
#define MAXARGCOUNT   100
 

Detailed Description

Agent Server and Client header file.

Macro Definition Documentation

#define AGENT_MULTIPLE   true

Multiple agents per name.

#define AGENT_SINGLE   false

Single agent per name.

#define AGENT_BLOCKING   SOCKET_BLOCKING

Blocking Agent.

#define AGENT_NONBLOCKING   SOCKET_NONBLOCKING

Non-blocking Agent.

#define AGENT_TALK   SOCKET_TALK

Talk followed by optional listen (sendto address)

#define AGENT_LISTEN   SOCKET_LISTEN

Listen followed by optional talk (recvfrom INADDRANY)

#define AGENT_COMMUNICATE   SOCKET_COMMUNICATE

Communicate socket (sendto followed by recvfrom)

#define AGENT_JABBER   SOCKET_JABBER

Talk over multiple interfaces.

#define AGENTBASE   10020

Base AGENT port number.

#define AGENTSENDPORT   10020

Default SEND port.

#define AGENTRECVPORT   10021

Default RECV port.

#define AGENTMCAST   "225.1.1.1"

AGENT heartbeat Multicast address.

#define AGENTMAXLIST   500

Maximum AGENT server list count.

#define AGENTMAXHEARTBEAT   200

Maximum AGENT heartbeat size.

#define AGENTRCVTIMEO   100000

Default AGENT socket RCVTIMEO (100 msec)

#define AGENT_HEARTBEAT_PERIOD_MIN   0.01

Default minium heartbeat period (10 msec)

#define MESSAGE_RING_SIZE   100

Default size of message ring buffer.

#define MAXARGCOUNT   100