RTI Connext C API  Version 5.3.1
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
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.
 
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 DDS_DataWriter.
 
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 DDS_DataWriter'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 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

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.

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

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 DDS_DataWriter'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 C API Version 5.3.1 Copyright © Mon Feb 19 2018 Real-Time Innovations, Inc