RTI Connext Java API  Version 5.3.1
 All Classes Namespaces Functions Variables Groups Pages
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.
 
int total_count_change
 The incremental changes in total_count since the last time the listener was called or the status was read.
 
int current_count
 The current number of ServiceRequests that have been accepted by this com.rti.dds.publication.DataWriter.
 
int current_count_change
 The change in current_count since the last time the listener was called or the status was read.
 
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.
 
int service_id
 ID of the service to which the accepted Request belongs.
 

Additional Inherited Members

- Public Member Functions inherited from Struct
abstract boolean equals (Object obj)
 
abstract int hashCode ()
 
String toString ()
 
- Protected Member Functions inherited from Struct
 Struct ()
 
abstract void pull_from_nativeI (long native_status)
 
abstract void push_to_nativeI (long native_status)
 

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

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.

int total_count_change

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

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.

int current_count_change

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

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.

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

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