Click or drag to resize

SubscriberListener Class

Abstract class that can be implemented by an application-provided class and then registered with the Subscriber such that the application can be notified of relevant status changes.
Inheritance Hierarchy
SystemObject
  OpenDDSharp.DDSSubscriberListener

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.4.1.0
Syntax
public abstract class SubscriberListener

The SubscriberListener type exposes the following members.

Constructors
  NameDescription
Public methodSubscriberListener
Creates a new instance of SubscriberListener
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodOnDataAvailable

Handles the DataAvailableStatus communication status.

The DataAvailableStatus indicates that samples are available on the DataReader. Applications receiving this status can use the various take and read operations on the DataReader to retrieve the data.

Public methodOnDataOnReaders
Handles the DataOnReadersStatus communication status. The DataOnReadersStatus indicates that new data is available on some of the data readers associated with the subscriber. Applications receiving this status can call GetDataReaders on the subscriber to get the set of data readers with data available.
Public methodOnLivelinessChanged

Handles the LivelinessChangedStatus communication status.

The LivelinessChangedStatus indicates that there have been liveliness changes for one or more DataWriters that are publishing instances for this DataReader.

Public methodOnRequestedDeadlineMissed

Handles the RequestedDeadlineMissedStatus communication status.

The RequestedDeadlineMissedStatus indicates that the deadline requested via the DeadlineQosPolicy was not respected for a specific instance.

Public methodOnRequestedIncompatibleQos

Handles the RequestedIncompatibleQosStatus communication status.

The RequestedIncompatibleQosStatus indicates that one or more QoS policy values that were requested were incompatible with what was offered.

Public methodOnSampleLost

Handles the SampleLostStatus communication status.

The SampleLostStatus indicates that a sample has been lost and never received by the DataReader.

Public methodOnSampleRejected

Handles the SampleRejectedStatus communication status.

The SampleRejectedStatus indicates that a sample received by the DataReader has been rejected.

Public methodOnSubscriptionMatched

Handles the SubscriptionMatchedStatus communication status.

The SubscriptionMatchedStatus indicates that either a compatible DataWriter has been matched or a previously matched DataWriter has ceased to be matched.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also