SNode.C
|
#include <SharedSocketContextFactory.h>
Public Member Functions | |
SharedSocketContextFactory (const std::string &sessionStoreFileName) | |
![]() | |
SocketContextFactory (SocketContextFactory &)=delete | |
SocketContextFactory (SocketContextFactory &&)=delete | |
SocketContextFactory & | operator= (SocketContextFactory &)=delete |
SocketContextFactory & | operator= (SocketContextFactory &&)=delete |
Private Member Functions | |
virtual core::socket::stream::SocketContext * | create (core::socket::stream::SocketConnection *socketConnection, std::shared_ptr< iot::mqtt::server::broker::Broker > broker)=0 |
core::socket::stream::SocketContext * | create (core::socket::stream::SocketConnection *socketConnection) final |
Private Attributes | |
const std::string | sessionStoreFileName |
Additional Inherited Members | |
![]() | |
SocketContextFactory ()=default | |
virtual | ~SocketContextFactory () |
Definition at line 66 of file SharedSocketContextFactory.h.
iot::mqtt::server::SharedSocketContextFactory::SharedSocketContextFactory | ( | const std::string & | sessionStoreFileName | ) |
|
finalprivatevirtual |
Implements core::socket::stream::SocketContextFactory.
Definition at line 56 of file SharedSocketContextFactory.cpp.
References create(), iot::mqtt::server::broker::Broker::instance(), and sessionStoreFileName.
|
privatepure virtual |
|
private |
Definition at line 76 of file SharedSocketContextFactory.h.
Referenced by create(), and SharedSocketContextFactory().