A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::net::WebSocketSignallingServer::State Struct Reference

Classes

struct  Connection
 

Public Member Functions

 State (std::shared_ptr< SignallingService > value_service, WebSocketSignallingServerOptions value_options)
 
bool running ABSL_GUARDED_BY (mu)
 
std::shared_ptr< Http2Server > server ABSL_GUARDED_BY (mu)
 
absl::flat_hash_map< std::string, Connection > connections ABSL_GUARDED_BY (mu)
 

Public Attributes

thread::Mutex mu
 
const std::shared_ptr< SignallingServiceservice
 
const WebSocketSignallingServerOptions options
 

Constructor & Destructor Documentation

◆ State()

a11::net::WebSocketSignallingServer::State::State ( std::shared_ptr< SignallingService value_service,
WebSocketSignallingServerOptions  value_options 
)
inline

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/3]

bool running a11::net::WebSocketSignallingServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [2/3]

std::shared_ptr< Http2Server > server a11::net::WebSocketSignallingServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [3/3]

absl::flat_hash_map< std::string, Connection > connections a11::net::WebSocketSignallingServer::State::ABSL_GUARDED_BY ( mu  )

Member Data Documentation

◆ mu

thread::Mutex a11::net::WebSocketSignallingServer::State::mu
mutable

◆ options

const WebSocketSignallingServerOptions a11::net::WebSocketSignallingServer::State::options

◆ service

const std::shared_ptr<SignallingService> a11::net::WebSocketSignallingServer::State::service

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