CppWAMP
C++11 client library for the WAMP protocol
|
Go to the documentation of this file.
7 #ifndef CPPWAMP_UDS_HPP
8 #define CPPWAMP_UDS_HPP
26 #ifndef CPPWAMP_COMPILED_LIB
27 #include "internal/asioconnector.hpp"
28 #include "internal/rawsockconnector.hpp"
29 #include "internal/udsopener.hpp"
46 template <
typename TCodec>
52 #ifndef CPPWAMP_COMPILED_LIB
53 template <
typename TCodec>
56 using Endpoint = internal::AsioConnector<internal::UdsOpener>;
57 using ConcreteConnector = internal::RawsockConnector<TCodec, Endpoint>;
58 return ConcreteConnector::create(exec, std::move(path));
75 template <
typename TCodec,
typename TExecutionContext>
76 CPPWAMP_ENABLED_TYPE(
Connector::Ptr, isExecutionContext<TExecutionContext>())
78 TExecutionContext& context,
83 return connector<TCodec>(context.get_executor(), std::move(path));
88 #endif // CPPWAMP_UDS_HPP
Contains a Unix domain socket path, as well as other socket options.
Definition: udspath.hpp:95
boost::asio::any_io_executor AnyIoExecutor
Polymorphic executor for all I/O objects.
Definition: asiodefs.hpp:27
Contains facilities for specifying Unix domain socket transport parameters and options.
Contains the declaration of the Connector abstract base class.
Defines macros related to exporting/importing APIs.
std::shared_ptr< Connector > Ptr
Shared pointer to a Connector.
Definition: connector.hpp:43
Common type definitions used by transports that rely on Boost.Asio.
Definition: anyhandler.hpp:36
Contains general-purpose type traits.