|
unilink
0.4.3
A simple C++ library for unified async communication
|
#include <channel_factory.hpp>
Public Types | |
| using | ChannelOptions = std::variant< config::TcpClientConfig, config::TcpServerConfig, config::SerialConfig, config::UdpConfig > |
Static Public Member Functions | |
| static std::shared_ptr< interface::Channel > | create (const ChannelOptions &options, std::shared_ptr< boost::asio::io_context > external_ioc=nullptr) |
Channel Factory
Definition at line 38 of file channel_factory.hpp.
| using unilink::factory::ChannelFactory::ChannelOptions = std::variant<config::TcpClientConfig, config::TcpServerConfig, config::SerialConfig, config::UdpConfig> |
Definition at line 40 of file channel_factory.hpp.
|
static |
Definition at line 29 of file channel_factory.cc.