|
OSSIA
Open Scenario System for Interactive Application
|
Shared between the server object and its connections: the websocketpp server lives on the mapper's asio context, the QJSValue callbacks on the Qt thread. The asio handlers keep a strong reference to this state so that the server stays valid until websocketpp is done with it.
Public Member Functions | |
| websocket_server_state (const ossia::net::network_context_ptr &ctx) | |
Public Attributes | |
| boost::asio::io_context & | context |
| std::shared_ptr< ossia::net::websocket_server > | server |
| std::atomic_bool | alive {true} |