DTNMA Reference Tools v2.4.0 - 0.g737f35c
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
refdm_mgr_t Struct Reference

State of a DTNMA Manager. More...

#include <refdm/mgr.h>

+ Collaboration diagram for refdm_mgr_t:

Data Fields

mgr_ui_mode_enum mgr_ui_mode
 
refdm_agent_autologging_cfg_t agent_log_cfg
 Message logging options.
 
cace_daemon_run_t running
 Running state.
 
cace_amm_msg_if_t mif
 Messaging configuration.
 
refdm_instr_t instr
 Instrumentation counters.
 
cace_threadset_t threads
 Threads associated with the mgr.
 
refdm_agent_list_t agent_list
 Agent state storage.
 
refdm_agent_dict_t agent_dict
 Lookup agents by EID.
 
pthread_mutex_t agent_mutex
 Access control for agent_list and agent_dict.
 
uint16_t rest_listen_port
 The port number to listen on.
 
m_string_t docroot_path
 Static file source path.
 
struct mg_context * rest
 HTTP server state, managed by a background thread.
 
refdm_db_t sql_info
 SQL client state, managed by a background thread.
 
pthread_mutex_t sql_lock
 

Detailed Description

Field Documentation

◆ agent_dict

refdm_agent_dict_t refdm_mgr_t::agent_dict

◆ agent_list

◆ agent_log_cfg

refdm_agent_autologging_cfg_t refdm_mgr_t::agent_log_cfg

Message logging options.

Referenced by handle_recv(), refdm_mgr_agent_add(), and refdm_mgr_init().

◆ agent_mutex

pthread_mutex_t refdm_mgr_t::agent_mutex

◆ docroot_path

m_string_t refdm_mgr_t::docroot_path

Static file source path.

See also
refdm_nm_rest_get_docroot()

Referenced by refdm_mgr_deinit(), refdm_mgr_init(), and refdm_nm_rest_start().

◆ instr

refdm_instr_t refdm_mgr_t::instr

Instrumentation counters.

Referenced by refdm_ingress_worker().

◆ mgr_ui_mode

mgr_ui_mode_enum refdm_mgr_t::mgr_ui_mode

Referenced by refdm_mgr_init().

◆ mif

cace_amm_msg_if_t refdm_mgr_t::mif

Messaging configuration.

Referenced by agentSendItems(), main(), and refdm_ingress_worker().

◆ rest

struct mg_context* refdm_mgr_t::rest

HTTP server state, managed by a background thread.

Referenced by refdm_mgr_init(), refdm_mgr_start(), and refdm_mgr_stop().

◆ rest_listen_port

uint16_t refdm_mgr_t::rest_listen_port

The port number to listen on.

Referenced by refdm_mgr_init(), and refdm_nm_rest_start().

◆ running

◆ sql_info

refdm_db_t refdm_mgr_t::sql_info

SQL client state, managed by a background thread.

Referenced by refdm_mgr_deinit(), refdm_mgr_init(), and refdm_mgr_start().

◆ sql_lock

pthread_mutex_t refdm_mgr_t::sql_lock

Referenced by refdm_mgr_deinit(), and refdm_mgr_init().

◆ threads

cace_threadset_t refdm_mgr_t::threads

Threads associated with the mgr.

Referenced by refdm_mgr_deinit(), refdm_mgr_init(), refdm_mgr_start(), and refdm_mgr_stop().


The documentation for this struct was generated from the following file: