SNode.C
Loading...
Searching...
No Matches
iot::mqtt::server::SharedSocketContextFactory Class Referenceabstract

#include <SharedSocketContextFactory.h>

Inheritance diagram for iot::mqtt::server::SharedSocketContextFactory:
Collaboration diagram for iot::mqtt::server::SharedSocketContextFactory:

Public Member Functions

 SharedSocketContextFactory (const std::string &sessionStoreFileName)
Public Member Functions inherited from core::socket::stream::SocketContextFactory
 SocketContextFactory (SocketContextFactory &)=delete
 SocketContextFactory (SocketContextFactory &&)=delete
SocketContextFactoryoperator= (SocketContextFactory &)=delete
SocketContextFactoryoperator= (SocketContextFactory &&)=delete

Private Member Functions

virtual core::socket::stream::SocketContextcreate (core::socket::stream::SocketConnection *socketConnection, std::shared_ptr< iot::mqtt::server::broker::Broker > broker)=0
core::socket::stream::SocketContextcreate (core::socket::stream::SocketConnection *socketConnection) final

Private Attributes

const std::string sessionStoreFileName

Additional Inherited Members

Protected Member Functions inherited from core::socket::stream::SocketContextFactory
 SocketContextFactory ()=default
virtual ~SocketContextFactory ()

Detailed Description

Definition at line 66 of file SharedSocketContextFactory.h.

Constructor & Destructor Documentation

◆ SharedSocketContextFactory()

iot::mqtt::server::SharedSocketContextFactory::SharedSocketContextFactory ( const std::string & sessionStoreFileName)

Member Function Documentation

◆ create() [1/2]

core::socket::stream::SocketContext * iot::mqtt::server::SharedSocketContextFactory::create ( core::socket::stream::SocketConnection * socketConnection)
finalprivatevirtual

Implements core::socket::stream::SocketContextFactory.

Definition at line 56 of file SharedSocketContextFactory.cpp.

56 {
58 }
#define SUBSCRIPTION_MAX_QOS
Definition Broker.h:66
virtual core::socket::stream::SocketContext * create(core::socket::stream::SocketConnection *socketConnection, std::shared_ptr< iot::mqtt::server::broker::Broker > broker)=0
static std::shared_ptr< Broker > instance(uint8_t maxQoS, const std::string &sessionStoreFileName)
Definition Broker.cpp:140

References create(), iot::mqtt::server::broker::Broker::instance(), and sessionStoreFileName.

Here is the call graph for this function:

◆ create() [2/2]

virtual core::socket::stream::SocketContext * iot::mqtt::server::SharedSocketContextFactory::create ( core::socket::stream::SocketConnection * socketConnection,
std::shared_ptr< iot::mqtt::server::broker::Broker > broker )
privatepure virtual

Referenced by create().

Here is the caller graph for this function:

Member Data Documentation

◆ sessionStoreFileName

const std::string iot::mqtt::server::SharedSocketContextFactory::sessionStoreFileName
private

Definition at line 76 of file SharedSocketContextFactory.h.

Referenced by create(), and SharedSocketContextFactory().


The documentation for this class was generated from the following files: