Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Ase::JsonapiConnection Class Reference
Inheritance diagram for Ase::JsonapiConnection:
[legend]

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 ()
 
- Public Member Functions inherited from Ase::WebSocketConnection
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.
 
- Public Member Functions inherited from std::enable_shared_from_this< WebSocketConnection >
enable_shared_from_this (T... args)
 
operator= (T... args)
 
shared_from_this (T... args)
 
weak_from_this (T... args)
 
~enable_shared_from_this (T... args)
 
- Public Member Functions inherited from Ase::CustomDataContainer
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 >
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

- Protected Member Functions inherited from Ase::WebSocketConnection
Info get_info ()
 
 WebSocketConnection (Internals &internals, int logflags)
 
- Protected Member Functions inherited from Ase::CustomDataContainer
void custom_data_destroy ()
 
- Protected Attributes inherited from Ase::WebSocketConnection
const int logflags_
 

Detailed Description

Definition at line 32 of file jsonapi.cc.

Constructor & Destructor Documentation

◆ JsonapiConnection()

Ase::JsonapiConnection::JsonapiConnection ( WebSocketConnection::Internals internals,
int  logflags 
)
explicit

Definition at line 102 of file jsonapi.cc.

◆ ~JsonapiConnection()

Ase::JsonapiConnection::~JsonapiConnection ( )

Definition at line 105 of file jsonapi.cc.

Member Function Documentation

◆ renew_gc()

bool Ase::JsonapiConnection::renew_gc ( )

Definition at line 110 of file jsonapi.cc.

◆ report_gc()

bool Ase::JsonapiConnection::report_gc ( const std::vector< size_t > &  ids)

Definition at line 117 of file jsonapi.cc.

◆ trigger_create()

void Ase::JsonapiConnection::trigger_create ( const String id)

Definition at line 138 of file jsonapi.cc.

◆ trigger_destroy_hooks()

void Ase::JsonapiConnection::trigger_destroy_hooks ( )

Definition at line 175 of file jsonapi.cc.

◆ trigger_lookup()

JsTrigger Ase::JsonapiConnection::trigger_lookup ( const String id)

Definition at line 125 of file jsonapi.cc.

◆ trigger_remove()

void Ase::JsonapiConnection::trigger_remove ( const String id)

Definition at line 133 of file jsonapi.cc.


The documentation for this class was generated from the following file: