RTI Connext Traditional C++ API  Version 5.3.1
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
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.
 
DDS_Long total_count_change
 The incremental changes in total_count since the last time the listener was called or the status was read.
 
DDS_Long current_count
 The current number of ServiceRequests that have been accepted by this DDSDataWriter.
 
DDS_Long current_count_change
 The change in current_count since the last time the listener was called or the status was read.
 
DDS_InstanceHandle_t last_request_handle
 A handle to the last DDS_ServiceRequest that caused the DDSDataWriter's status to change.
 
DDS_Long service_id
 ID of the service to which the accepted Request belongs.
 

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

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.

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.

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.

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.

DDS_InstanceHandle_t DDS_ServiceRequestAcceptedStatus::last_request_handle

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

DDS_Long DDS_ServiceRequestAcceptedStatus::service_id

ID of the service to which the accepted Request belongs.

See Also
DDS_TOPIC_QUERY_SERVICE_REQUEST_ID

RTI Connext Traditional C++ API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc