59 :
Session(stack,
SessionType::BUS, settings, listener, storageType, storage, customKey)
75 :
Session(service,
SessionType::BUS, settings, listener, storageType, storage, customKey)
#define ONIXS_ICEBOE_NAMESPACE_BEGIN
#define ONIXS_ICEBOE_NAMESPACE_END
#define ONIXS_ICEBOE_EXPORTED
BusSession(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.
BusSession(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.
BusSession(const SessionSettings &settings, SessionListener *listener, SessionStorageType::Enum storageType=SessionStorageType::FileBased, SessionStorage *storage=nullptr, const std::string &customKey={}, const Utils::BuildInfo &=Utils::consumerBuildInfo())
Constructor.
Session & connect(const std::string &host, Port port)
Establishes the connection.
Threading::SharedFuture< BgwCredentials > getBgwCredentialsAsync(const std::string &userId, bool forceRequest=0) final
Asynchronously provides the BGW session connection credentials for the given user id.
Threading::SharedFuture< void > connectAsync(const std::string &host, Port port)
Establishes the connection asynchronously.
Session's network stack reactor interface.
std::string customKey() const
std::string userId() const noexcept
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...
Interface to provide BGW session connection credentials.
@ FileBased
File-based Session Storage.