59 :
Session(stack,
SessionType::BGW, settings, listener, storageType, storage, customKey)
75 :
Session(service,
SessionType::BGW, settings, listener, storageType, storage, customKey)
#define ONIXS_ICEBOE_NAMESPACE_BEGIN
#define ONIXS_ICEBOE_NAMESPACE_END
#define ONIXS_ICEBOE_EXPORTED
BGW session connection credentials.
Session & connect(const std::string &host, Port port, const std::string &ipSessionToken)
Establishes the connection.
Session & connect(const BgwCredentials &bgwCredentials)
Establishes the connection.
BgwSession(const SessionSettings &settings, SessionListener *listener, SessionStorageType::Enum storageType=SessionStorageType::FileBased, SessionStorage *storage=nullptr, const std::string &customKey={}, const Utils::BuildInfo &=Utils::consumerBuildInfo())
Constructor.
BgwSession(SessionReactor &stack, const SessionSettings &settings, SessionListener *listener, SessionStorageType::Enum storageType=SessionStorageType::FileBased, SessionStorage *storage=nullptr, const std::string &customKey={}, const Utils::BuildInfo &=Utils::consumerBuildInfo())
Constructor.
Threading::SharedFuture< void > connectAsync(const std::string &host, Port port, const std::string &ipSessionToken)
Establishes the connection asynchronously.
BgwSession(ServiceFactory &service, const SessionSettings &settings, SessionListener *listener, SessionStorageType::Enum storageType=SessionStorageType::FileBased, SessionStorage *storage=nullptr, const std::string &customKey={}, const Utils::BuildInfo &=Utils::consumerBuildInfo())
Constructor.
Threading::SharedFuture< void > connectAsync(const BgwCredentials &bgwCredentials)
Establishes the connection asynchronously.
const std::string & ipSessionToken() const noexcept
const std::string & host() const noexcept
unsigned short port() const noexcept
Session's network stack reactor interface.
std::string customKey() const
Session & connect(const std::string &host, Port port, const std::string &ipSessionToken={})
Establishes the connection.
Threading::SharedFuture< void > connectAsync(const std::string &host, Port port, const std::string &ipSessionToken={})
Establishes the connection asynchronously.
Session(SessionType::Enum sessionType, const SessionSettings &settings, SessionListener *listener, SessionStorageType::Enum storageType=SessionStorageType::FileBased, SessionStorage *storage=nullptr, const std::string &customKey={}, const Utils::BuildInfo &=Utils::consumerBuildInfo())
Constructor.
SessionStorageType::Enum storageType() const noexcept
Represents a future result of an asynchronous operation - a result that will eventually appear in the...
@ FileBased
File-based Session Storage.