Click or drag to resize

DomainParticipantFactoryCreateParticipant Method (Int32, DomainParticipantListener)

Creates a new DomainParticipant with the default QoS policies and attaches to it the specified DomainParticipantListener. The specified DomainParticipantListener will be attached with the default StatusMask.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public DomainParticipant CreateParticipant(
	int domainId,
	DomainParticipantListener listener
)

Parameters

domainId
Type: SystemInt32
Domain ID that the application intends to join.
listener
Type: OpenDDSharp.OpenDDS.DCPSDomainParticipantListener
The DomainParticipantListener to be attached to the newly created DomainParticipant.

Return Value

Type: DomainParticipant
The newly created DomainParticipant on success, otherwise .
See Also