CoreDX DDS
C++ Reference Manual

DDS::SubscriberListener Class Reference
[DDS Listeners]

The SubscriberListener provides asynchronous notification of Subscriber events. More...

Inheritance diagram for DDS::SubscriberListener:
DDS::DataReaderListener DDS::DomainParticipantListener

List of all members.

Public Member Functions

virtual void on_data_on_readers (Subscriber *)

Detailed Description

The SubscriberListener provides asynchronous notification of Subscriber events.

This listener can be installed during Subscriber creation, DomainParticipant_create_subscriber() as well as by calling Subscriber_set_listener().

Note:
The listener callback methods should be lightweight and should not block. If a callback method blocks, it will block all other callback operations within the same DomainParticipant.

Member Function Documentation

virtual void DDS::SubscriberListener::on_data_on_readers ( Subscriber  )  [inline, virtual]

on_data_on_readers() is called when the CoreDX DDS middleware detects that data or data state information arrives at any DataReader contained within the Subscriber.

The status argument provides a snapshot of the status at the time the listener was invoked.

 All Classes Files Functions Variables

© 2009-2013 Twin Oaks Computing, Inc
Castle Rock, CO 80108
All rights reserved.