Function dds_qget_durability_service

Function Documentation

bool dds_qget_durability_service(const dds_qos_t *qos, dds_duration_t *service_cleanup_delay, dds_history_kind_t *history_kind, int32_t *history_depth, int32_t *max_samples, int32_t *max_instances, int32_t *max_samples_per_instance)

Get the durability-service qos policy values.

Parameters
  • qos[in] - Pointer to a dds_qos_t structure storing the policy

  • service_cleanup_delay[inout] - Pointer that will store the delay for purging of abandoned instances from the durability service (optional)

  • history_kind[inout] - Pointer that will store history policy kind applied by the durability service (optional)

  • history_depth[inout] - Pointer that will store history policy depth applied by the durability service (optional)

  • max_samples[inout] - Pointer that will store number of samples resource-limit policy applied by the durability service (optional)

  • max_instances[inout] - Pointer that will store number of instances resource-limit policy applied by the durability service (optional)

  • max_samples_per_instance[inout] - Pointer that will store number of samples per instance resource-limit policy applied by the durability service (optional)

Returns

- false iff any of the arguments is invalid or the qos is not present in the qos object