RTI Connext Traditional C++ API Version 7.3.0
DDS_ServiceRequestAcceptedStatus Struct Reference

DDS_SERVICE_REQUEST_ACCEPTED_STATUS More...

Public Attributes

DDS_Long total_count
 The total cumulative number of ServiceRequests that have been accepted by a DDSDataWriter. 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 DDSDataWriter. 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 DDSDataWriter'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 DDSTopicQuery service. A DDS_ServiceRequest is accepted when a DDSDataWriter matches with a DDSDataReader that has created a DDSTopicQuery.

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

Member Data Documentation

◆ total_count

DDS_Long DDS_ServiceRequestAcceptedStatus::total_count

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

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 DDSDataWriter.

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 DDSDataWriter'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