Click or drag to resize

DataWriterGetMatchedSubscriptions Method

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.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode GetMatchedSubscriptions(
	ICollection<InstanceHandle> subscriptionHandles
)

Parameters

subscriptionHandles
Type: System.Collections.GenericICollectionInstanceHandle
The collection of subscription InstanceHandles to be filled up.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks
The handles returned in the 'subscriptionHandles' collection are the ones that are used by the DDS implementation to locally identify the corresponding matched DataReader entities. These handles match the ones that appear in the InstanceState property of the SampleInfo when reading the "DCPSSubscriptions" builtin topic.
See Also