RTI Connext C API Version 7.3.0
DDS_ServiceRequestAcceptedStatus Struct Reference

DDS_SERVICE_REQUEST_ACCEPTED_STATUS More...

Data Fields

DDS_Long total_count
 The total cumulative number of ServiceRequests that have been accepted by a DDS_DataWriter. More...
 
DDS_Long total_count_change
 The incremental changes in total_count since the last time the listener was called or the status was read. More...
 
DDS_Long current_count
 The current number of ServiceRequests that have been accepted by this DDS_DataWriter. More...
 
DDS_Long current_count_change
 The change in current_count since the last time the listener was called or the status was read. More...
 
DDS_InstanceHandle_t last_request_handle
 A handle to the last DDS_ServiceRequest that caused the DDS_DataWriter's status to change. More...
 
DDS_Long service_id
 ID of the service to which the accepted Request belongs. More...
 

Detailed Description

DDS_SERVICE_REQUEST_ACCEPTED_STATUS

Currently, the only service that causes the ServiceRequestAcceptedStatus to be triggered is the DDS_TopicQuery service. A DDS_ServiceRequest is accepted when a DDS_DataWriter matches with a DDS_DataReader that has created a DDS_TopicQuery.

This status is also changed (and the listener, if any, called) when a ServiceRequest has been cancelled, or deleted. This will happen when a DDS_DataReader deletes a TopicQuery using DDS_DataReader_delete_topic_query.

Field Documentation

◆ total_count

DDS_Long DDS_ServiceRequestAcceptedStatus::total_count

The total cumulative number of ServiceRequests that have been accepted by a DDS_DataWriter.

This number increases whenever a new request is accepted. It does not change when a request is cancelled.

◆ total_count_change

DDS_Long DDS_ServiceRequestAcceptedStatus::total_count_change

The incremental changes in total_count since the last time the listener was called or the status was read.

◆ current_count

DDS_Long DDS_ServiceRequestAcceptedStatus::current_count

The current number of ServiceRequests that have been accepted by this DDS_DataWriter.

This number increases when a new request is accepted and decreases when an existing request is cancelled.

◆ current_count_change

DDS_Long DDS_ServiceRequestAcceptedStatus::current_count_change

The change in current_count since the last time the listener was called or the status was read.

◆ last_request_handle

DDS_InstanceHandle_t DDS_ServiceRequestAcceptedStatus::last_request_handle

A handle to the last DDS_ServiceRequest that caused the DDS_DataWriter's status to change.

◆ service_id

DDS_Long DDS_ServiceRequestAcceptedStatus::service_id

ID of the service to which the accepted Request belongs.

See also
DDS_TOPIC_QUERY_SERVICE_REQUEST_ID