Click or drag to resize

DataReaderListener Class

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

Namespace:  OpenDDSharp.OpenDDS.DCPS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.4.1.0
Syntax
public abstract class DataReaderListener

The DataReaderListener type exposes the following members.

Constructors
  NameDescription
Public methodDataReaderListener
Creates a new instance of DataReaderListener.
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 methodOnBudgetExceeded
Allow reporting delays in excess of the policy duration setting.
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 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 methodOnSubscriptionDisconnected
Called when a subscription connection failure has been detected and there are still associations using the connection after the configurable graceful_disconnected_period.
Public methodOnSubscriptionLost
Called when a subscription connection is lost and hence one or more associations from this publication to some subscribers have been lost. A connection is "lost" when the retry attempts have been exhausted.
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 methodOnSubscriptionReconnected
Called when a disconnected subscription connection has been reconnected.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also