|
DomainParticipantCreatePublisher Method (PublisherQos, PublisherListener)
|
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public Publisher CreatePublisher(
PublisherQos qos,
PublisherListener listener
)
Public Function CreatePublisher (
qos As PublisherQos,
listener As PublisherListener
) As Publisher
public:
Publisher^ CreatePublisher(
PublisherQos^ qos,
PublisherListener^ listener
)
member CreatePublisher :
qos : PublisherQos *
listener : PublisherListener -> Publisher
Parameters
- qos
- Type: OpenDDSharp.DDSPublisherQos
The PublisherQos policies to be used for creating the new Publisher. - listener
- Type: OpenDDSharp.DDSPublisherListener
The PublisherListener to be attached to the newly created Publisher.
Return Value
Type:
PublisherThe newly created
Publisher on success, otherwise
.
Remarks The created Publisher belongs to the DomainParticipant that is its factory.
If the specified QoS policies are not consistent, the operation will fail and no Publisher will be created.
See Also