Click or drag to resize

DataWriter Methods

The DataWriter type exposes the following members.

Methods
  NameDescription
Public methodAssertLiveliness
Manually asserts the liveliness of the DataWriter. This is used in combination with the liveliness QoS policy to indicate to DDS that the entity remains active.
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 DataWriterListener.
Public methodGetLivelinessLostStatus
Allows access to the LivelinessLostStatus communication status.
Public methodGetMatchedSubscriptionData
Retrieves information on a subscription that is currently "associated" with the DataWriter; that is, a subscription with a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the DomainParticipant IgnoreSubscription operation.
Public methodGetMatchedSubscriptions
Gets the collection of subscriptions currently "associated" with the DataWriter; that is, subscriptions that have a matching Topic and compatible QoS that the application has not indicated should be "ignored" by means of the DomainParticipant IgnoreSubscription operation.
Public methodGetOfferedDeadlineMissedStatus
Allows access to the OfferedDeadlineMissedStatus communication status.
Public methodGetOfferedIncompatibleQosStatus
Allows access to the OfferedIncompatibleQosStatus communication status.
Public methodGetPublicationMatchedStatus
Allows access to the PublicationMatchedStatus communication status.
Public methodGetQos
Gets the DataWriter QoS policies.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetListener(DataWriterListener)
Public methodSetListener(DataWriterListener, StatusMask)
Sets the DataWriterListener.
Public methodSetQos
Sets the DataWriter QoS policies.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitForAcknowledgments
Blocks the calling thread until either all data written by the DataWriter is acknowledged by all matched DataReader entities that have ReliableReliabilityQos, or else the duration specified by the maxWait parameter elapses, whichever happens first.
Top
See Also