Resolved broker endpoints for the current environment.
int port
Broker TCP port extracted from the resolved endpoint.
int has_domain_mapping
Nonzero when values came from a ZCMDOMAIN -> ZCmDomains mapping.
char bind_endpoint[ZCM_DOMAIN_ENDPOINT_MAX]
Local endpoint the broker on this host should bind to.
char domain[ZCM_DOMAIN_NAME_MAX]
Selected domain name from ZCMDOMAIN, or empty when explicit broker override is used.
char query_endpoint[ZCM_DOMAIN_ENDPOINT_MAX]
Shared/advertised broker endpoint used by clients to connect to the broker.
char publish_host[ZCM_DOMAIN_NAME_MAX]
Hostname/IP that should be written back to ZCmDomains as the published broker host.
char domains_file[ZCM_DOMAIN_PATH_MAX]
Resolved path to the ZCmDomains file used for lookup/update.
struct zcm_domain_info zcm_domain_info_t
Resolved broker endpoints for the current environment.
#define ZCM_DOMAIN_PATH_MAX
Maximum number of bytes reserved for the resolved ZCmDomains path.
int zcm_domain_info_update_published_host(const zcm_domain_info_t *info)
Publish the active broker host back into ZCmDomains.
#define ZCM_DOMAIN_NAME_MAX
Maximum number of bytes reserved for domain and host name strings.
#define ZCM_DOMAIN_ENDPOINT_MAX
Maximum number of bytes reserved for one broker endpoint string.
int zcm_domain_info_load(zcm_domain_info_t *out_info)
Resolve broker endpoints from environment and ZCmDomains.