OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.omg.dds.core.event.DataOnReadersEvent Class Referenceabstract

There is new data in one of the DataReaders of the Subscriber. More...

Inheritance diagram for org.omg.dds.core.event.DataOnReadersEvent:
Inheritance graph
Collaboration diagram for org.omg.dds.core.event.DataOnReadersEvent:
Collaboration graph

Public Member Functions

abstract DataOnReadersEvent clone ()
 
abstract SOURCE getSource ()
 
abstract DataOnReadersStatus getStatus ()
 

Protected Member Functions

 DataOnReadersEvent (Subscriber source)
 
void setSource (SOURCE source)
 

Detailed Description

There is new data in one of the DataReaders of the Subscriber.

Any of the following events will cause the DataOnReadersStatus to become TRUE:

  • The arrival of new data in any of its DataReaders
  • A change in the InstanceState of a contained instance. This can be caused by either:
  • The loss of liveliness of the DataWriter of an instance for which there is no other DataWriter.
  • The arrival of the notification that an instance has been unregistered by the only DataWriter that is known to be writing the instance.

Any of the following events will cause the DataOnReadersStatus to become FALSE:

  • The corresponding listener operation (onDataOnReaders) is called.
  • The onDataAvailable listener operation is called on any DataReader belonging to the Subscriber.
  • The read or take operation (or their variants) is called on any DataReader belonging to the Subscriber.
See also
DataAvailableEvent
DataOnReadersStatus

Definition at line 54 of file DataOnReadersEvent.java.

Constructor & Destructor Documentation

◆ DataOnReadersEvent()

org.omg.dds.core.event.DataOnReadersEvent.DataOnReadersEvent ( Subscriber  source)
protected

Definition at line 73 of file DataOnReadersEvent.java.

Member Function Documentation

◆ clone()

abstract DataOnReadersEvent org.omg.dds.core.event.DataOnReadersEvent.clone ( )
abstract

◆ getSource()

abstract SOURCE org.omg.dds.core.event.StatusChangedEvent< SOURCE extends Entity<?, ?>.getSource ( )
abstractinherited

◆ getStatus()

abstract DataOnReadersStatus org.omg.dds.core.event.DataOnReadersEvent.getStatus ( )
abstract

◆ setSource()

void org.omg.dds.core.event.StatusChangedEvent< SOURCE extends Entity<?, ?>.setSource ( SOURCE  source)
protectedinherited

Definition at line 68 of file StatusChangedEvent.java.


The documentation for this class was generated from the following file: