Data Structures |
struct | fipa_comm_message_check_t |
struct | fipa_comm_reply_t |
struct | fipa_comm_action_t |
struct | fipa_comm_performative_t |
struct | fipa_list_t |
struct | fipa_comm_protocol_cn_t |
struct | fipa_comm_protocol_t |
struct | fipa_comm_t |
Defines |
#define | false 0 |
#define | MC_NUM_PERFORMATIVES 23 |
Typedefs |
typedef int(* | fipa_comm_callback )(char *received_content, char **reply_content) |
typedef int(* | protocol_contract_net_callback )(int numBids, char **bids, char *winners) |
typedef struct
fipa_comm_message_check_t | fipa_comm_message_check_s |
typedef struct
fipa_comm_message_check_t * | fipa_comm_message_check_p |
typedef struct fipa_comm_reply_t | fipa_comm_reply_s |
typedef struct fipa_comm_reply_t * | fipa_comm_reply_p |
typedef struct fipa_comm_action_t | fipa_comm_action_s |
typedef struct fipa_comm_action_t * | fipa_comm_action_p |
typedef struct
fipa_comm_performative_t | fipa_comm_performative_s |
typedef struct
fipa_comm_performative_t * | fipa_comm_performative_p |
typedef struct fipa_list_t | fipa_list_s |
typedef struct fipa_list_t * | fipa_list_p |
typedef struct
fipa_comm_protocol_cn_t | fipa_comm_protocol_cn_s |
typedef struct
fipa_comm_protocol_cn_t * | fipa_comm_protocol_cn_p |
typedef struct
fipa_comm_protocol_t * | fipa_comm_protocol_p |
typedef struct fipa_comm_protocol_t | fipa_comm_protocol_s |
typedef struct fipa_comm_t | fipa_comm_s |
typedef struct fipa_comm_t * | fipa_comm_p |
typedef struct fipa_comm_t | MCFIPAComm_s |
typedef struct fipa_comm_t * | MCFIPAComm_p |
Enumerations |
enum | fipa_comm_type_e {
FIPA_COMM_ACTION,
FIPA_COMM_CHECK,
FIPA_COMM_REPLY,
FIPA_COMM_CALLBACK,
FIPA_COMM_END
} |
enum | fipa_comm_logic_type_e { FIPA_COMM_LOGIC_ERROR = -1,
FIPA_COMM_LOGIC_OR,
FIPA_COMM_LOGIC_AND
} |
enum | fipa_comm_check_type_e {
FIPA_COMM_CHECK_ERROR = -1,
FIPA_COMM_CHECK_SENDER_NAME,
FIPA_COMM_CHECK_SENDER_ADDRESS,
FIPA_COMM_CHECK_CONTENT,
FIPA_COMM_CHECK_CONVERSATIONID,
FIPA_COMM_CHECK_LANGUAGE,
FIPA_COMM_CHECK_ONTOLOGY,
FIPA_COMM_CHECK_ENCODING
} |
enum | fipa_comm_action_type_e {
FIPA_COMM_ACTION_ERROR = -1,
FIPA_COMM_ACTION_BOTH,
FIPA_COMM_ACTION_REPLY,
FIPA_COMM_ACTION_CALLBACK,
FIPA_COMM_ACTION_NONE
} |
enum | fipa_comm_protocol_cn_state_e {
FIPA_COMM_PROTOCOL_CN_ERROR = -1,
FIPA_COMM_PROTOCOL_CN_START,
FIPA_COMM_PROTOCOL_CN_CFP,
FIPA_COMM_PROTOCOL_CN_BID,
FIPA_COMM_PROTOCOL_CN_RESULT,
FIPA_COMM_PROTOCOL_CN_DONE
} |
Functions |
fipa_comm_p | mc_FIPAComm_New () |
int | mc_FIPAComm_HandleMessage (fipa_comm_p fcomm, fipa_acl_message_p acl) |
int | mc_FIPAComm_HandleMessageOnce (fipa_comm_p fcomm) |
int | mc_FIPAComm_HandleMessageWait (fipa_comm_p fcomm) |
void | mc_FIPAComm_Destroy (fipa_comm_p) |
int | mc_FIPAComm_RegisterPerformative (fipa_comm_p fcomm, enum fipa_performative_e type) |
int | mc_FIPAComm_DeregisterPerformative (fipa_comm_p fcomm, enum fipa_performative_e type) |
int | mc_FIPAComm_SetDefaultReply (fipa_comm_p fcomm, enum fipa_performative_e type, char *content) |
int | mc_FIPAComm_SetPerformativeDefaultReply (fipa_comm_p fcomm, enum fipa_performative_e ptype, enum fipa_performative_e rtype, char *content) |
int | mc_FIPAComm_SetAgent (fipa_comm_p fcomm, void *agent, char *agent_name, char *agent_address) |
int | mc_FIPAComm_RegisterAction (fipa_comm_p fcomm, enum fipa_performative_e pType, enum fipa_comm_action_type_e aType,...) |
int | mc_FIPAComm_RegisterActionS (fipa_performative_e type, fipa_comm_action_p act) |
fipa_comm_protocol_p | mc_FIPAProtocol_New () |
int | mc_FIPAComm_RegisterProtocolCallback (fipa_comm_p fcomm, enum fipa_protocol_e protocolType, fipa_comm_callback func) |
int | mc_FIPAComm_RegisterProtocol (fipa_comm_p fcomm, enum fipa_protocol_e protocolType, char *protocolID, void *info, char *network) |
void | fipa_comm_protocol_info_COPY (fipa_comm_protocol_p proto, void *info) |
int | fipa_list_Add (fipa_list_p *list, fipa_acl_message_p acl) |
int | mc_FIPAComm_StartProtocol (fipa_comm_p fcomm, enum fipa_protocol_e type, char *id) |
int | mc_FIPAComm_HandleProtocol (fipa_comm_p fcomm, fipa_acl_message_p acl) |
fipa_comm_protocol_p | mc_FIPAComm_AddNewProtocol (fipa_comm_p fcomm, enum fipa_protocol_e type, char *id) |
int | mc_FIPAComm_FSM_CN (fipa_comm_p fcomm, fipa_acl_message_p acl) |
fipa_comm_protocol_p | mc_FIPAComm_NewProtocol (enum fipa_protocol_e type, char *id) |
int | mc_FIPAComm_SetProtocolState (fipa_comm_protocol_p protocol, char state) |