RTI Connext .NET API (legacy)
Version 6.1.2
Transport Use Cases
Programming How-To's
Working with pluggable transports.
More...
Working with pluggable transports.
Changing the automatically registered built-in transports
The
DDS::TransportBuiltinKindMask::TRANSPORTBUILTIN_MASK_DEFAULT
specifies the transport plugins that will be automatically registered with a newly created
DDS::DomainParticipant
by default.
This default can be changed by changing the value of the value of
TRANSPORT_BUILTIN
Qos Policy on the
DDS::DomainParticipant
To change the
DDS::DomainParticipantQos::transport_builtin
Qos Policy:
DomainParticipantQos participant_qos =
new
DomainParticipantQos();
factory.get_default_participant_qos(participant_qos);
participant_qos.transport_builtin.mask =
(int)
TransportBuiltinKind
.TRANSPORTBUILTIN_SHMEM |
(
int
)
TransportBuiltinKind
.TRANSPORTBUILTIN_UDPv4;