|
DomainParticipantGetDiscoveredTopicData Method
|
Retrieves information on a
Topic that has been discovered on the network. The topic must have been created by
a participant in the same domain as the participant on which this operation is invoked and must not have been “ignored” by
means of the
DomainParticipantIgnoreTopic(InstanceHandle) operation.
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public ReturnCode GetDiscoveredTopicData(
ref TopicBuiltinTopicData topicData,
InstanceHandle topicHandle
)
Public Function GetDiscoveredTopicData (
ByRef topicData As TopicBuiltinTopicData,
topicHandle As InstanceHandle
) As ReturnCode
public:
ReturnCode GetDiscoveredTopicData(
TopicBuiltinTopicData% topicData,
InstanceHandle topicHandle
)
member GetDiscoveredTopicData :
topicData : TopicBuiltinTopicData byref *
topicHandle : InstanceHandle -> ReturnCode
Parameters
- topicData
- Type: OpenDDSharp.DDSTopicBuiltinTopicData
The TopicBuiltinTopicData to fill up. - topicHandle
- Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle of the Topic to get the data.
Return Value
Type:
ReturnCodeThe
ReturnCode that indicates the operation result.
Remarks The topicHandle must correspond to such a topic. Otherwise, the operation will fail and return
PreconditionNotMet.
Use the operation GetDiscoveredTopics to find the topics that are currently discovered.
The operation may also fail if the infrastructure does not hold the information necessary to fill in the topicData. In this case
the operation will return Unsupported.
The operation may fail if the infrastructure does not locally maintain the connectivity information. In this case the operation
will return Unsupported.
See Also