#include <HttpService.h>
Definition at line 82 of file HttpService.h.
◆ SessionService()
Trinity::Net::Http::SessionService::SessionService |
( |
std::string_view |
loggerSuffix | ) |
|
|
inlineexplicit |
◆ FindAndRefreshSessionState()
std::shared_ptr< SessionState > Trinity::Net::Http::SessionService::FindAndRefreshSessionState |
( |
std::string_view |
id, |
|
|
boost::asio::ip::address const & |
address |
|
) |
| |
◆ InitAndStoreSessionState()
void Trinity::Net::Http::SessionService::InitAndStoreSessionState |
( |
std::shared_ptr< SessionState > |
state, |
|
|
boost::asio::ip::address const & |
address |
|
) |
| |
|
protected |
◆ KillInactiveSessions()
void Trinity::Net::Http::SessionService::KillInactiveSessions |
( |
| ) |
|
|
protected |
◆ MarkSessionInactive()
void Trinity::Net::Http::SessionService::MarkSessionInactive |
( |
boost::uuids::uuid const & |
id | ) |
|
◆ Start()
void Trinity::Net::Http::SessionService::Start |
( |
Asio::IoContext & |
ioContext | ) |
|
◆ Stop()
void Trinity::Net::Http::SessionService::Stop |
( |
| ) |
|
◆ _inactiveSessions
std::set<boost::uuids::uuid> Trinity::Net::Http::SessionService::_inactiveSessions |
|
private |
◆ _inactiveSessionsKillTimer
std::unique_ptr<Asio::DeadlineTimer> Trinity::Net::Http::SessionService::_inactiveSessionsKillTimer |
|
private |
◆ _inactiveSessionsMutex
std::mutex Trinity::Net::Http::SessionService::_inactiveSessionsMutex |
|
private |
◆ _logger
std::string Trinity::Net::Http::SessionService::_logger |
|
private |
◆ _sessions
std::map<boost::uuids::uuid, std::shared_ptr<SessionState> > Trinity::Net::Http::SessionService::_sessions |
|
private |
◆ _sessionsMutex
std::shared_mutex Trinity::Net::Http::SessionService::_sessionsMutex |
|
private |
The documentation for this class was generated from the following files: