9#ifndef clouddiscoveryservice_service_h
10#define clouddiscoveryservice_service_h
13#ifndef clouddiscoveryservice_dll_h
14 #include "clouddiscoveryservice/clouddiscoveryservice_dll.h"
16#ifndef clouddiscoveryservice_infrastructure_h
19#ifndef routingservice_infrastructure_h
20 #include "routingservice/routingservice_infrastructure.h"
23 #include "ndds/ndds_c.h"
25#ifndef core_version_version_h
26 #include "core_version/core_version_version.h"
28#ifndef ndds_config_c_h
29 #include "ndds/ndds_config_c.h"
40extern CDSDllVariable
const struct RTI_CDS_DomainListProperty
41 RTI_CDS_DOMAIN_LIST_DEFAULT;
43extern CDSDllVariable
const char *RTI_CDS_TRANSPORT_UNICAST_ALIAS_DEFAULT;
45extern CDSDllVariable
int RTI_CDS_TRANSPORT_UNICAST_RECEIVE_PORT_DEFAULT;
47extern CDSDllVariable
struct RTI_CDS_TransportSelectionProperty
48 RTI_CDS_TRANSPORT_SELECTION_DEFAULT;
50extern CDSDllVariable
const RTI_UINT64
51 CDS_FLOW_CONTROLLER_OUTPUT_BANDWITH_UNLIMITED;
53extern CDSDllVariable
const struct RTI_CDS_FlowControllerProperty
54 RTI_CDS_FLOW_CONTROLLER_PROPERTY_DEFAULT;
57 RTI_CDS_FORWARDER_EVENT_PROPERTY_DEFAULT;
60#define RTI_CDS_FLOW_CONTROLLER_PROPERTY_DEFAULT_VALUE \
62 RTI_CDS_FLOW_CONTROLLER_JOBS_UNLIMITED, \
63 RTI_CDS_FLOW_CONTROLLER_JOBS_UNLIMITED, { 40, 30, 30 }, \
64 DDS_DURATION_INFINITE_VALUE \
295#define RTI_CDS_Property_INITIALIZER \
306 RTI_CDS_TransportSelectionProperty_INITIALIZER,
308 RTI_CDS_DomainListProperty_INITIALIZER, \
319extern CDSDllVariable
const struct RTI_CDS_Property RTI_CDS_PROPERTY_DEFAULT;
331extern CDSDllExport DDS_Boolean
449#ifdef DOXYGEN_DOCUMENTATION_ONLY
504extern CDSDllExport DDS_Boolean
521extern CDSDllExport DDS_Boolean
539extern CDSDllExport DDS_Boolean
558extern CDSDllExport DDS_Boolean
561 const char *rtps_psk_secret_passphrase);
584 NDDS_Config_LogLevel log_level,
618extern CDSDllExport
void RTI_CDS_Service_print_available_configI(
const int RTI_CDS_LOG_VERBOSITY_ALL
Log verbosity level: exceptions + warnings + info + periodic.
const int RTI_CDS_LOG_VERBOSITY_SILENT
Log verbosity level: silent.
void RTI_CDS_Logger_log(NDDS_Config_LogLevel log_level, const char *format,...)
Logs a message with the specified level within the running instance of RTI Cloud Discovery Service....
const int RTI_CDS_LOG_VERBOSITY_DEBUG
Log verbosity level: exceptions + warnings + info + periodic + content.
const int RTI_CDS_LOG_VERBOSITY_EXCEPTIONS
Log verbosity level: exceptions.
const int RTI_CDS_LOG_VERBOSITY_INFO
Log verbosity level: exceptions + warnings + info.
const int RTI_CDS_LOG_VERBOSITY_WARNINGS
Log verbosity level: exceptions + warnings.
DDS_Boolean RTI_CDS_Service_update_rtps_psk_secret_passphrase(struct RTI_CDS_Service *self, const char *rtps_psk_secret_passphrase)
Sets the dds.sec.crypto.rtps_psk_secret_passphrase property for the RTI Cloud Discovery Service insta...
DDS_Boolean RTI_CDS_Service_finalize_globals(void)
void RTI_CDS_Service_delete(struct RTI_CDS_Service *self)
Stop and delete an RTI Cloud Discovery Service instance.
struct RTI_CDS_Service * RTI_CDS_Service_new(const struct RTI_CDS_Property *property)
Create a new RTI Cloud Discovery Service instance.
DDS_Boolean RTI_CDS_Service_start(struct RTI_CDS_Service *self)
Start RTI Cloud Discovery Service.
DDS_Boolean RTI_CDS_Service_is_started(struct RTI_CDS_Service *self)
Query whether this RTI Cloud Discovery Service is currently started.
DDS_Boolean RTI_CDS_Service_stop(struct RTI_CDS_Service *self)
Stop RTI Cloud Discovery Service.
struct RTI_CDS_Property * RTI_CDS_Property_copy(struct RTI_CDS_Property *to, const struct RTI_CDS_Property *from)
Copy the values of a Service Property variable into another.
void RTI_CDS_Property_finalize(struct RTI_CDS_Property *self)
Finalize an instance of the Service Property variable.
DDS_Boolean RTI_CDS_Property_initialize(struct RTI_CDS_Property *self)
Initialize an instance of the Service Property variable with empty values.
Data structure to configure the forwarder resend event mechanism. It allows CDS to resend a new or up...
Definition: clouddiscoveryservice_infrastructure.h:151
Configuration property for RTI Cloud Discovery Service.
Definition: clouddiscoveryservice_service.h:79
const char ** cfg_strings
XML configuration represented as strings.
Definition: clouddiscoveryservice_service.h:133
struct RTI_CDS_DomainListProperty domain_list
Specifies the set of domain IDs the service will accept announcements from.
Definition: clouddiscoveryservice_service.h:232
int administration_domain_id
If enable_administration is true, this is the domain ID to use for remote administration.
Definition: clouddiscoveryservice_service.h:252
char * license_file_name
Path to an RTI Cloud Discovery Service license file.
Definition: clouddiscoveryservice_service.h:282
struct RTI_CDS_TransportSelectionProperty transport_selection
Specifies the transport and receive ports used to receive and send discovery traffic....
Definition: clouddiscoveryservice_service.h:224
DDS_Boolean enforce_xsd_validation
Controls whether the service applies XSD validation to the loaded configuration.
Definition: clouddiscoveryservice_service.h:171
int dds_verbosity
The verbosity of RTI Connext core libraries.
Definition: clouddiscoveryservice_service.h:216
DDS_Boolean enable_administration
Set this to true to enable remote administration or false to disable it.
Definition: clouddiscoveryservice_service.h:240
DDS_Boolean skip_default_files
Set it to true to avoid loading the standard files usually loaded by RTI Cloud Discovery Service.
Definition: clouddiscoveryservice_service.h:182
unsigned int cfg_strings_count
Size of the array cfg_strings.
Definition: clouddiscoveryservice_service.h:140
int monitoring_domain_id
If enable_monitoring is true, this is the domain ID to use for publishing monitoring topics.
Definition: clouddiscoveryservice_service.h:271
char * application_name
Assigns a name to the execution of the RTI Cloud Discovery Service.
Definition: clouddiscoveryservice_service.h:163
int service_verbosity
The verbosity of the service.
Definition: clouddiscoveryservice_service.h:199
struct RTI_RoutingServiceProperties user_environment
Dictionary of user variables. The dictionary provides a parallel way to expand XML configuration vari...
Definition: clouddiscoveryservice_service.h:292
DDS_Boolean enable_monitoring
Set this to true to enable monitoring or false to disable it.
Definition: clouddiscoveryservice_service.h:259
char * service_name
The name of the RTI Cloud Discovery Service instance to run.
Definition: clouddiscoveryservice_service.h:153
char * cfg_file
Path to an RTI Cloud Discovery Service configuration file.
Definition: clouddiscoveryservice_service.h:88
RTI Cloud Discovery Service.
Definition: clouddiscoveryservice_service.h:454