#include "LocalSessionService.h"
◆ LocalSessionService() [1/2]
LocalSessionService::LocalSessionService |
( |
| ) |
|
◆ LocalSessionService() [2/2]
◆ ~LocalSessionService()
LocalSessionService::~LocalSessionService |
( |
| ) |
|
|
virtual |
◆ addSession()
bool LocalSessionService::addSession |
( |
const Session & | _session | ) |
|
◆ addToJsonObject()
Add the object contents to the provided JSON object.
- Parameters
-
_object | Json object reference |
_allocator | Allocator |
Implements ot::Serializable.
◆ clear()
void LocalSessionService::clear |
( |
void | | ) |
|
◆ getSessionById()
Session * LocalSessionService::getSessionById |
( |
const std::string & | _sessionId | ) |
|
◆ id()
◆ operator=()
◆ removeSession()
void LocalSessionService::removeSession |
( |
Session * | _session | ) |
|
◆ sessionCount()
size_t LocalSessionService::sessionCount |
( |
void | | ) |
const |
◆ sessions()
const std::list< Session * > & LocalSessionService::sessions |
( |
void | | ) |
const |
|
inline |
◆ setFromJsonObject()
Will set the object contents from the provided JSON object.
- Parameters
-
_object | The JSON object containing the information |
- Exceptions
-
Will | throw an exception if the provided object is not valid (members missing or invalid types) |
Implements ot::Serializable.
◆ setId()
◆ setSessions()
void LocalSessionService::setSessions |
( |
const std::list< Session * > & | _sessions | ) |
|
|
inline |
◆ setUrl()
void LocalSessionService::setUrl |
( |
const std::string & | _url | ) |
|
|
inline |
◆ url()
const std::string & LocalSessionService::url |
( |
void | | ) |
const |
|
inline |
The documentation for this class was generated from the following files: