Click or drag to resize

DomainParticipantCreateSubscriber Method (SubscriberListener, StatusMask)

Creates a new Subscriber with the default QoS policies and attaches to it the specified SubscriberListener.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public Subscriber CreateSubscriber(
	SubscriberListener listener,
	StatusMask statusMask
)

Parameters

listener
Type: OpenDDSharp.DDSSubscriberListener
The SubscriberListener to be attached to the newly created Subscriber.
statusMask
Type: OpenDDSharp.DDSStatusMask
The StatusMask of which status changes the listener should be notified.

Return Value

Type: Subscriber
The newly created Subscriber on success, otherwise .
Remarks

The created Subscriber belongs to the DomainParticipant that is its factory.

See Also