|
DomainParticipantFactoryCreateParticipant Method (Int32, DomainParticipantQos, DomainParticipantListener, StatusMask)
|
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public DomainParticipant CreateParticipant(
int domainId,
DomainParticipantQos qos,
DomainParticipantListener listener,
StatusMask statusMask
)
Public Function CreateParticipant (
domainId As Integer,
qos As DomainParticipantQos,
listener As DomainParticipantListener,
statusMask As StatusMask
) As DomainParticipant
public:
DomainParticipant^ CreateParticipant(
int domainId,
DomainParticipantQos^ qos,
DomainParticipantListener^ listener,
StatusMask statusMask
)
member CreateParticipant :
domainId : int *
qos : DomainParticipantQos *
listener : DomainParticipantListener *
statusMask : StatusMask -> DomainParticipant
Parameters
- domainId
- Type: SystemInt32
Domain ID that the application intends to join. - qos
- Type: OpenDDSharp.DDSDomainParticipantQos
The DomainParticipantQos policies to be used for creating the new DomainParticipant. - listener
- Type: OpenDDSharp.OpenDDS.DCPSDomainParticipantListener
The DomainParticipantListener to be attached to the newly created DomainParticipant. - statusMask
- Type: OpenDDSharp.DDSStatusMask
The StatusMask of which status changes the listener should be notified.
Return Value
Type:
DomainParticipant The newly created
DomainParticipant on success, otherwise
.
Remarks
If the specified QoS policies are not consistent, the operation will fail and no
DomainParticipant will be created.
See Also