Click or drag to resize

DomainParticipantCreatePublisher Method (PublisherListener)

Creates a Publisher with the default QoS policies and attaches to it the specified PublisherListener. The specified PublisherListener will be attached with the default StatusMask.

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

Parameters

listener
Type: OpenDDSharp.DDSPublisherListener
The PublisherListener to be attached to the newly created Publisher.

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