RTI Connext Java API  Version 6.1.1
ServiceRequestAcceptedStatus Class Reference

com.rti.dds.infrastructure.StatusKind.SERVICE_REQUEST_ACCEPTED_STATUS More...

Inherits Status.

Public Attributes

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

Detailed Description

com.rti.dds.infrastructure.StatusKind.SERVICE_REQUEST_ACCEPTED_STATUS

Currently, the only service that causes the ServiceRequestAcceptedStatus to be triggered is the com.rti.dds.subscription.TopicQuery service. A com.rti.dds.topic.builtin.ServiceRequest is accepted when a com.rti.dds.publication.DataWriter matches with a com.rti.dds.subscription.DataReader that has created a com.rti.dds.subscription.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 com.rti.dds.subscription.DataReader deletes a TopicQuery using com.rti.dds.subscription.DataReader.delete_topic_query.

Member Data Documentation

◆ total_count

int total_count

The total cumulative number of ServiceRequests that have been accepted by a com.rti.dds.publication.DataWriter.

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

◆ total_count_change

int total_count_change

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

◆ current_count

int current_count

The current number of ServiceRequests that have been accepted by this com.rti.dds.publication.DataWriter.

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

◆ current_count_change

int current_count_change

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

◆ last_request_handle

final InstanceHandle_t last_request_handle

A handle to the last com.rti.dds.topic.builtin.ServiceRequest that caused the com.rti.dds.publication.DataWriter's status to change.

◆ service_id

int service_id

ID of the service to which the accepted Request belongs.

See also
com.rti.dds.topic.builtin.ServiceRequest.TOPIC_QUERY_SERVICE_ID