Click or drag to resize

DataReaderGetMatchedPublicationData Method

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.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode GetMatchedPublicationData(
	InstanceHandle publicationHandle,
	ref PublicationBuiltinTopicData publicationData
)

Parameters

publicationHandle
Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle of the publication data requested.
publicationData
Type: OpenDDSharp.DDSPublicationBuiltinTopicData
The PublicationBuiltinTopicData structure to be filled up.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks
The publicationHandle must correspond to a publication currently associated with the DataReader otherwise the operation will fail and return BadParameter. The operation GetMatchedPublications can be used to find the publications that are currently matched with the DataReader.
See Also