Click or drag to resize

DataReader Methods

The DataReader type exposes the following members.

Methods
  NameDescription
Public methodCreateQueryCondition(String, String)
Creates a QueryCondition to read samples with any sample states, any view states and any instance states.
Public methodCreateQueryCondition(SampleStateMask, ViewStateMask, InstanceStateMask, String, String)
Creates a QueryCondition with the desired sample states, view states and instance states.
Public methodCreateReadCondition
Creates a ReadCondition to read samples with any sample states, any view states and any instance states.
Public methodCreateReadCondition(SampleStateMask, ViewStateMask, InstanceStateMask)
Creates a ReadCondition to read samples with the desired sample states, view states and instance states.
Public methodDeleteContainedEntities
Deletes all the entities that were created by means of the "create" operations on the DataReader. That is, it deletes all contained ReadCondition and QueryCondition objects.
Public methodDeleteReadCondition
Deletes a ReadCondition attached to the DataReader. Since QueryCondition specializes ReadCondition it can also be used to delete a QueryCondition.
Public methodEnable
Enables the Entity. The enable operation is idempotent. Calling enable on an already enabled Entity returns Ok and has no effect.
(Inherited from Entity.)
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 methodGetListener
Allows access to the attached DataReaderListener.
Public methodGetLivelinessChangedStatus
Allows access to the LivelinessChangedStatus communication status.
Public methodGetMatchedPublicationData
This operation retrieves information on a publication that is currently "associated" with the DataReader; that is, a publication with a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the DomainParticipant IgnorePublication operation.
Public methodGetMatchedPublications
Gets the list of publications currently "associated" with the DataReader; that is, publications that have a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the DomainParticipant IgnorePublication operation.
Public methodGetQos
Gets the DataReader QoS policies.
Public methodGetRequestedDeadlineMissedStatus
Allows access to the RequestedDeadlineMissedStatus communication status.
Public methodGetRequestedIncompatibleQosStatus
Allows access to the RequestedIncompatibleQosStatus communication status.
Public methodGetSampleLostStatus
Allows access to the SampleLostStatus communication status.
Public methodGetSampleRejectedStatus
Allows access to the SampleRejectedStatus communication status.
Public methodGetSubscriptionMatchedStatus
Allows access to the SubscriptionMatchedStatus communication status.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetListener(DataReaderListener)
Public methodSetListener(DataReaderListener, StatusMask)
Sets the DataReaderListener.
Public methodSetQos
Sets the DataReader QoS policies.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitForHistoricalData
Waits until all "historical" data is received. This operation is intended only for DataReader entities that have a non-Volatile DurabilityQosPolicyKind.
Top
See Also