Click or drag to resize

DataWriterGetMatchedSubscriptionData Method

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.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode GetMatchedSubscriptionData(
	InstanceHandle subscriptionHandle,
	ref SubscriptionBuiltinTopicData subscriptionData
)

Parameters

subscriptionHandle
Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle of the subscription data requested.
subscriptionData
Type: OpenDDSharp.DDSSubscriptionBuiltinTopicData
The SubscriptionBuiltinTopicData structure to be filled up.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks

The subscriptionHandle must correspond to a subscription currently associated with the DataWriter, otherwise the operation will fail and return BadParameter. The operation GetMatchedSubscriptions can be used to find the subscriptions that are currently matched with the DataWriter.

See Also