Click or drag to resize

DataReaderGetMatchedPublications Method

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.

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

Parameters

publicationHandles
Type: System.Collections.GenericICollectionInstanceHandle
The collection of publication InstanceHandles to be filled up.

Return Value

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