|
static NDDS_Transport_Handle_t | register_transport (DDSDomainParticipant *participant_in, NDDS_Transport_Plugin *transport_in, const DDS_StringSeq &aliases_in, const NDDS_Transport_Address_t &network_address_in) |
| Register a transport plugin for use with a DDSDomainParticipant, assigning it a network_address. More...
|
|
static NDDS_Transport_Handle_t | lookup_transport (DDSDomainParticipant *participant_in, DDS_StringSeq &aliases_out, NDDS_Transport_Address_t &network_address_out, NDDS_Transport_Plugin *transport_in) |
| Look up a transport plugin within a DDSDomainParticipant. More...
|
|
static DDS_ReturnCode_t | add_send_route (const NDDS_Transport_Handle_t &transport_handle_in, const NDDS_Transport_Address_t &address_range_in, DDS_Long address_range_bit_count_in) |
| Add a route for outgoing messages. More...
|
|
static DDS_ReturnCode_t | add_receive_route (const NDDS_Transport_Handle_t &transport_handle_in, const NDDS_Transport_Address_t &address_range_in, DDS_Long address_range_bit_count_in) |
| Add a route for incoming messages. More...
|
|
static DDS_ReturnCode_t | get_builtin_transport_property (DDSDomainParticipant *participant_in, DDS_TransportBuiltinKind builtin_transport_kind_in, struct NDDS_Transport_Property_t &builtin_transport_property_inout) |
| Get the properties used to create a builtin transport plugin. More...
|
|
static DDS_ReturnCode_t | set_builtin_transport_property (DDSDomainParticipant *participant_in, DDS_TransportBuiltinKind builtin_transport_kind_in, const struct NDDS_Transport_Property_t &builtin_transport_property_in) |
| Set the properties used to create a builtin transport plugin. More...
|
|
static NDDS_Transport_Plugin * | get_transport_plugin (DDSDomainParticipant *participant_in, const char *alias_in) |
| Retrieve a transport plugin registered in a DDSDomainParticipant by its alias. More...
|
|
<<interface>> The utility class used to configure RTI Connext pluggable transports.
Register a transport plugin for use with a DDSDomainParticipant, assigning it a network_address.
A transport plugin instance can be used by exactly one DDSDomainParticipant at a time.
When a DataWriter/DataReader is created, only those transports already registered to the corresponding DDSDomainParticipant are available to the DataWriter/DataReader.
Builtin transports can be automatically registered by RTI Connext as a convenience to the user. See Built-in Transport Plugins for details on how to control the builtin transports that are automatically registered.
- Precondition
- A disabled DDSDomainParticipant and a transport plugin that will be registered exclusively with it.
- Parameters
-
participant_in | <<in>> A non-null, disabled DDSDomainParticipant. |
transport_in | <<in>> A non-null transport plugin that is currently not registered with another DDSDomainParticipant. |
aliases_in | <<in>> A non-null sequence of strings used as aliases to symbolically refer to the transport plugins. The transport plugin will be "available for use" by a DDSEntity in the DDSDomainParticipant if the transport alias list associated with the DDSEntity contains one of these transport aliases. An empty alias list represents a wildcard and matches all aliases. Alias names for the builtin transports are defined in TRANSPORT_BUILTIN. |
network_address_in | <<in>> The network address at which to register this transport plugin. The bits indicated by transport_in.property.address_bit_count will be truncated. The remaining bits are the network address of the transport plugin. (see Transport Class Attributes). |
- Returns
- Upon success, a valid non-NIL transport handle, representing the association between the DDSDomainParticipant and the transport plugin; a NDDS_TRANSPORT_HANDLE_NIL upon failure.
Note that a transport plugin's class name is automatically registered as an implicit alias for the plugin. Thus, a class name can be used to refer to all the transport plugin instance of that class.
- See also
- Transport Class Attributes
-
Transport Network Address
-
Locator Format
-
NDDS_DISCOVERY_PEERS