|
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
)
Public Function IgnoreTopic (
handle As InstanceHandle
) As ReturnCode
public:
ReturnCode IgnoreTopic(
InstanceHandle handle
)
member IgnoreTopic :
handle : InstanceHandle -> ReturnCode
Parameters
- handle
- Type: OpenDDSharp.DDSInstanceHandle
The InstanceHandle of the Topic to be ignored.
Return Value
Type:
ReturnCodeThe
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