Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)
« « « Anklang Documentation |
Public Member Functions | |
JsonapiConnection (WebSocketConnection::Internals &internals, int logflags) | |
bool | renew_gc () |
bool | report_gc (const std::vector< size_t > &ids) |
JsTrigger | trigger_lookup (const String &id) |
void | trigger_remove (const String &id) |
void | trigger_create (const String &id) |
void | trigger_destroy_hooks () |
![]() | |
bool | is_open () const |
String | nickname () |
void | log_status (int status, const String &filepath="") |
virtual void | http_request () |
Independent of socket ops. | |
virtual bool | authenticated (const std::string &token) |
Return true to allow validate(). | |
virtual void | failed () |
Never folloed by opened(). | |
bool | send_text (const String &message) |
Returns true if text message was sent. | |
bool | send_binary (const String &blob) |
Returns true if binary blob was sent. | |
![]() | |
T | enable_shared_from_this (T... args) |
T | operator= (T... args) |
T | shared_from_this (T... args) |
T | weak_from_this (T... args) |
T | ~enable_shared_from_this (T... args) |
![]() | |
template<class T > | |
void | set_custom_data (CustomDataKey< T > *key, T data) |
Assign data to the custom keyed data member, deletes any previously set data. | |
template<class T > | |
T | get_custom_data (CustomDataKey< T > *key) const |
Retrieve contents of the custom keyed data member, returns DataKey::fallback if nothing was set. | |
template<class T > | |
bool | has_custom_data (CustomDataKey< T > *key) const |
Retrieve wether contents of the custom keyed data member exists. | |
template<class T > | |
bool | del_custom_data (CustomDataKey< T > *key) |
Delete the current contents of the custom keyed data member, invokes DataKey::destroy. | |
Additional Inherited Members | |
![]() | |
Info | get_info () |
WebSocketConnection (Internals &internals, int logflags) | |
![]() | |
void | custom_data_destroy () |
![]() | |
const int | logflags_ |
Definition at line 32 of file jsonapi.cc.
|
explicit |
Definition at line 102 of file jsonapi.cc.
Ase::JsonapiConnection::~JsonapiConnection | ( | ) |
Definition at line 105 of file jsonapi.cc.
bool Ase::JsonapiConnection::renew_gc | ( | ) |
Definition at line 110 of file jsonapi.cc.
bool Ase::JsonapiConnection::report_gc | ( | const std::vector< size_t > & | ids | ) |
Definition at line 117 of file jsonapi.cc.
void Ase::JsonapiConnection::trigger_create | ( | const String & | id | ) |
Definition at line 138 of file jsonapi.cc.
void Ase::JsonapiConnection::trigger_destroy_hooks | ( | ) |
Definition at line 175 of file jsonapi.cc.
Definition at line 125 of file jsonapi.cc.
void Ase::JsonapiConnection::trigger_remove | ( | const String & | id | ) |
Definition at line 133 of file jsonapi.cc.