OpenHiva::TopicOptions::BuildTransportOptions
Description
Sets the communication mode of Topic.
Prototype
OpenHiva::TopicOptions &OpenHiva::TopicOptions::BuildTransportOptions(const std::string &transType, const TransportOptions &opts = TransportOptions())
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
transType |
Input |
Communication type. Currently, the following types are supported:
|
opts |
Input |
TransportOptions is of the std::unordered_map<std::string, std::string> type and can be ignored in the current version. |
Returns
The TopicOptions object with communication mode set is returned.
Usage
None
Precautions
- Non-reentrant, synchronous interface.
- If you do not invoke this interface, DSF communication is used by default.
Parent topic: OpenHiva::TopicOptions