#include <SessionData.h>
Definition at line 37 of file SessionData.h.
Hyperspace::SessionData::SessionData |
( |
const sockaddr_in & |
_addr, |
|
|
uint32_t |
lease_interval, |
|
|
uint64_t |
_id |
|
) |
| |
|
inline |
void Hyperspace::SessionData::add_notification |
( |
Notification * |
notification | ) |
|
|
inline |
void Hyperspace::SessionData::expire |
( |
| ) |
|
|
inline |
void Hyperspace::SessionData::extend_lease |
( |
std::chrono::milliseconds |
millis | ) |
|
|
inline |
const struct sockaddr_in& Hyperspace::SessionData::get_addr |
( |
| ) |
const |
|
inline |
uint64_t Hyperspace::SessionData::get_id |
( |
| ) |
const |
|
inline |
const char* Hyperspace::SessionData::get_name |
( |
| ) |
const |
|
inline |
bool Hyperspace::SessionData::is_expired |
( |
std::chrono::steady_clock::time_point |
now | ) |
|
|
inline |
void Hyperspace::SessionData::purge_notifications |
( |
std::set< uint64_t > & |
delivered_events | ) |
|
|
inline |
bool Hyperspace::SessionData::renew_lease |
( |
| ) |
|
|
inline |
CommBuf* Hyperspace::SessionData::serialize_notifications_for_keepalive |
( |
CommHeader & |
header, |
|
|
uint32_t & |
len |
|
) |
| |
|
inline |
void Hyperspace::SessionData::set_expire_time_now |
( |
| ) |
|
|
inline |
void Hyperspace::SessionData::set_name |
( |
const String & |
name_ | ) |
|
|
inline |
struct sockaddr_in Hyperspace::SessionData::addr |
|
private |
std::chrono::steady_clock::time_point Hyperspace::SessionData::expire_time |
|
private |
bool Hyperspace::SessionData::expired {} |
|
private |
uint64_t Hyperspace::SessionData::id |
|
private |
uint32_t Hyperspace::SessionData::m_lease_interval {} |
|
private |
std::mutex Hyperspace::SessionData::mutex |
|
private |
String Hyperspace::SessionData::name |
|
private |
std::list<Notification *> Hyperspace::SessionData::notifications |
|
private |
The documentation for this class was generated from the following file: