MQTTSuite
Loading...
Searching...
No Matches
SocketContextFactory.h
Go to the documentation of this file.
1/*
2 * MQTTSuite - A lightweight MQTT Integration System
3 * Copyright (C) Volker Christian <me@vchrist.at>
4 * 2022, 2023, 2024, 2025, 2026
5 *
6 * This program is free software: you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the Free
8 * Software Foundation, either version 3 of the License, or (at your option)
9 * any later version.
10 */
11
12#ifndef MQTTSTORE_SOCKETCONTEXTFACTORY_H
13#define MQTTSTORE_SOCKETCONTEXTFACTORY_H
14
15#include <core/socket/stream/SocketContextFactory.h> // IWYU pragma: export
16
17namespace mqtt::mqttstore {
18
19 class SocketContextFactory : public core::socket::stream::SocketContextFactory {
20 private:
21 core::socket::stream::SocketContext* create(core::socket::stream::SocketConnection* socketConnection) final;
22 };
23
24} // namespace mqtt::mqttstore
25
26#endif // MQTTSTORE_SOCKETCONTEXTFACTORY_H
core::socket::stream::SocketContext * create(core::socket::stream::SocketConnection *socketConnection) final
static StoragePlan fromFile(const std::string &fileName)
StorageOptions getStorageOptions(const mqtt::mqttstore::lib::ConfigStorage *configStorage)