Click or drag to resize

DomainParticipantCreatePublisher Method (PublisherListener, StatusMask)

Creates a new Publisher with the default QoS policies and attaches to it the specified PublisherListener.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public Publisher CreatePublisher(
	PublisherListener listener,
	StatusMask statusMask
)

Parameters

listener
Type: OpenDDSharp.DDSPublisherListener
The PublisherListener to be attached to the newly created Publisher.
statusMask
Type: OpenDDSharp.DDSStatusMask
The StatusMask of which status changes the listener should be notified.

Return Value

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

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

See Also