|
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
)
Public Function GetMatchedPublicationData (
publicationHandle As InstanceHandle,
ByRef publicationData As PublicationBuiltinTopicData
) As ReturnCode
public:
ReturnCode GetMatchedPublicationData(
InstanceHandle publicationHandle,
PublicationBuiltinTopicData% publicationData
)
member GetMatchedPublicationData :
publicationHandle : InstanceHandle *
publicationData : PublicationBuiltinTopicData byref -> ReturnCode
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:
ReturnCodeThe
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