zCm 0.1.0
Lightweight messaging toolkit
Loading...
Searching...
No Matches
zcm_domain_info Struct Reference

Resolved broker endpoints for the current environment. More...

#include <zcm_domain.h>

Data Fields

int has_domain_mapping
 Nonzero when values came from a ZCMDOMAIN -> ZCmDomains mapping.
char domain [ZCM_DOMAIN_NAME_MAX]
 Selected domain name from ZCMDOMAIN, or empty when explicit broker override is used.
char domains_file [ZCM_DOMAIN_PATH_MAX]
 Resolved path to the ZCmDomains file used for lookup/update.
char query_endpoint [ZCM_DOMAIN_ENDPOINT_MAX]
 Shared/advertised broker endpoint used by clients to connect to the broker.
char bind_endpoint [ZCM_DOMAIN_ENDPOINT_MAX]
 Local endpoint the broker on this host should bind to.
char publish_host [ZCM_DOMAIN_NAME_MAX]
 Hostname/IP that should be written back to ZCmDomains as the published broker host.
int port
 Broker TCP port extracted from the resolved endpoint.

Detailed Description

query_endpoint is the advertised/shared endpoint used by CLI tools to find the active broker. bind_endpoint is the local endpoint a broker instance on this host should bind to if it becomes the active broker.

Definition at line 27 of file zcm_domain.h.

Field Documentation

◆ bind_endpoint

char zcm_domain_info::bind_endpoint[ZCM_DOMAIN_ENDPOINT_MAX]

Definition at line 37 of file zcm_domain.h.

◆ domain

char zcm_domain_info::domain[ZCM_DOMAIN_NAME_MAX]

Definition at line 31 of file zcm_domain.h.

◆ domains_file

char zcm_domain_info::domains_file[ZCM_DOMAIN_PATH_MAX]

Definition at line 33 of file zcm_domain.h.

◆ has_domain_mapping

int zcm_domain_info::has_domain_mapping

Definition at line 29 of file zcm_domain.h.

◆ port

int zcm_domain_info::port

Definition at line 41 of file zcm_domain.h.

◆ publish_host

char zcm_domain_info::publish_host[ZCM_DOMAIN_NAME_MAX]

Definition at line 39 of file zcm_domain.h.

◆ query_endpoint

char zcm_domain_info::query_endpoint[ZCM_DOMAIN_ENDPOINT_MAX]

Definition at line 35 of file zcm_domain.h.


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