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

Public Member Functions

 State (HttpSseOptions value_options, OnHttpSseConnect connect_callback)
 
bool stopped ABSL_GUARDED_BY (mu)
 
std::shared_ptr< Http2Server > http2_server ABSL_GUARDED_BY (mu)
 
absl::flat_hash_map< std::string, std::shared_ptr< HttpSseServerWireStream > > streams ABSL_GUARDED_BY (mu)
 
std::deque< std::shared_ptr< HttpSseServerWireStream > > incoming ABSL_GUARDED_BY (mu)
 
std::deque< std::shared_ptr< a11::Promise< std::shared_ptr< HttpSseServerWireStream > > > > waiters ABSL_GUARDED_BY (mu)
 

Public Attributes

thread::Mutex mu
 
const HttpSseOptions options
 
const OnHttpSseConnect on_connect
 

Constructor & Destructor Documentation

◆ State()

a11::net::HttpSseServer::State::State ( HttpSseOptions  value_options,
OnHttpSseConnect  connect_callback 
)
inline

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/5]

bool stopped a11::net::HttpSseServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [2/5]

std::shared_ptr< Http2Server > http2_server a11::net::HttpSseServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [3/5]

absl::flat_hash_map< std::string, std::shared_ptr< HttpSseServerWireStream > > streams a11::net::HttpSseServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [4/5]

std::deque< std::shared_ptr< HttpSseServerWireStream > > incoming a11::net::HttpSseServer::State::ABSL_GUARDED_BY ( mu  )

◆ ABSL_GUARDED_BY() [5/5]

std::deque< std::shared_ptr< a11::Promise< std::shared_ptr< HttpSseServerWireStream > > > > waiters a11::net::HttpSseServer::State::ABSL_GUARDED_BY ( mu  )

Member Data Documentation

◆ mu

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

◆ on_connect

const OnHttpSseConnect a11::net::HttpSseServer::State::on_connect

◆ options

const HttpSseOptions a11::net::HttpSseServer::State::options

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