ConnectionFactory¶
-
struct ConnectionFactory¶
Public Functions
-
ConnectionFactory() = default¶
-
ConnectionFactory(ConnectionFactory const&) = delete¶
-
ConnectionFactory(ConnectionFactory&&) = delete¶
-
virtual ~ConnectionFactory() = default¶
-
virtual std::unique_ptr<Connection> create(Connection::Handler&) = 0¶
-
inline std::unique_ptr<Connection> operator()(Connection::Handler &handler)¶
-
virtual std::string_view get_interface() const = 0¶
-
virtual std::string_view get_current_authority() const = 0¶
-
virtual std::string_view get_current_path() const = 0¶
Public Static Functions
-
static std::unique_ptr<ConnectionFactory> create(Context&, Config const&)¶
-
struct Config¶
-
ConnectionFactory() = default¶