Click or drag to resize

DomainParticipantGetDiscoveredParticipantData Method

Retrieves information on a DomainParticipant that has been discovered on the network. The participant must be in the same domain as the participant on which this operation is invoked and must not have been "ignored" by means of the DomainParticipantIgnoreParticipant(InstanceHandle) operation.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode GetDiscoveredParticipantData(
	ref ParticipantBuiltinTopicData participantData,
	InstanceHandle participantHandle
)

Parameters

participantData
Type: OpenDDSharp.DDSParticipantBuiltinTopicData
The ParticipantBuiltinTopicData to fill up.
participantHandle
Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle of the DomainParticipant to get the data.

Return Value

Type: ReturnCode
The ReturnCode that indicates the operation result.
Remarks

The participantHandle must correspond to such a DomainParticipant. Otherwise, the operation will fail and return PreconditionNotMet.

Use the operation GetDiscoveredParticipants to find the Topic that are currently discovered.

The operation may also fail if the infrastructure does not hold the information necessary to fill in the participantData.In this case the operation will return Unsupported.

See Also