RTI Connext Java API  Version 6.1.1

<<interface>> Conditions specifically dedicated to read operations and attached to one com.rti.dds.subscription.DataReader. More...

Inheritance diagram for ReadCondition:
Condition QueryCondition

Public Member Functions

int get_sample_state_mask ()
 Retrieves the set of sample_states for the condition. More...
 
int get_view_state_mask ()
 Retrieves the set of view_states for the condition. More...
 
int get_instance_state_mask ()
 Retrieves the set of instance_states for the condition. More...
 
int get_stream_kind_mask ()
 Retrieves the set of stream kind mask for the condition. More...
 
DataReader get_datareader ()
 Returns the com.rti.dds.subscription.DataReader associated with the com.rti.dds.subscription.ReadCondition. More...
 
- Public Member Functions inherited from Condition
boolean get_trigger_value ()
 Retrieve the trigger_value. More...
 

Detailed Description

<<interface>> Conditions specifically dedicated to read operations and attached to one com.rti.dds.subscription.DataReader.

com.rti.dds.subscription.ReadCondition objects allow an application to specify the data samples it is interested in (by specifying the desired sample_states, view_states as well as instance_states in com.rti.ndds.example.FooDataReader.read and com.rti.ndds.example.FooDataReader.take variants.

This allows RTI Connext to enable the condition only when suitable information is available. They are to be used in conjunction with a WaitSet as normal conditions.

More than one com.rti.dds.subscription.ReadCondition may be attached to the same com.rti.dds.subscription.DataReader.

Member Function Documentation

◆ get_sample_state_mask()

int get_sample_state_mask ( )

Retrieves the set of sample_states for the condition.

Referenced by Requester< TReq, TRep >.createReplySample().

◆ get_view_state_mask()

int get_view_state_mask ( )

Retrieves the set of view_states for the condition.

◆ get_instance_state_mask()

int get_instance_state_mask ( )

Retrieves the set of instance_states for the condition.

◆ get_stream_kind_mask()

int get_stream_kind_mask ( )

Retrieves the set of stream kind mask for the condition.

◆ get_datareader()