Click or drag to resize

DomainParticipantIgnoreTopic Method

Instructs DDS to locally ignore a Topic. This means it will locally ignore any publication or subscription to the Topic.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ReturnCode IgnoreTopic(
	InstanceHandle handle
)

Parameters

handle
Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle of the Topic to be ignored.

Return Value

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

This operation can be used to save local resources when the application knows that it will never publish or subscribe to data under certain topics.

The Topic to ignore is identified by the handle argument. This handle is the one that appears in the SampleInfo retrieved when reading the data-samples from the built-in DataReader on the “DCPSTopic” topic.

There is no way to reverse this operation.

See Also