RTI Connext .Net APIs  Version 6.0.1
DDS::ServiceRequestAcceptedStatus Struct Reference

DDS::StatusKind::SERVICE_REQUEST_ACCEPTED_STATUS More...

#include <managed_publication.h>

Public Attributes

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

Detailed Description

DDS::StatusKind::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.

Member Data Documentation

◆ total_count

System::Int32 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

System::Int32 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

System::Int32 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

System::Int32 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

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

System::Int32 DDS::ServiceRequestAcceptedStatus::service_id

ID of the service to which the accepted Request belongs.

See also
DDS::ServiceRequest::TOPIC_QUERY_SERVICE_ID

RTI Connext .Net APIs Version 6.0.1 Copyright © Sat Nov 23 2019 Real-Time Innovations, Inc