CCF
|
#include <responder_lookup.h>
Inherited by ccf::RPCSessions.
Public Member Functions | |
std::shared_ptr< ccf::http::HTTPResponder > | lookup_responder (::tcp::ConnID session_id, http2::StreamId stream_id) |
void | add_responder (::tcp::ConnID session_id, http2::StreamId stream_id, std::shared_ptr< ccf::http::HTTPResponder > responder) |
void | cleanup_responders (::tcp::ConnID session_id) |
Protected Types | |
using | ByStream = std::unordered_map< http2::StreamId, std::shared_ptr< ccf::http::HTTPResponder > > |
Protected Attributes | |
std::unordered_map<::tcp::ConnID, ByStream > | all_responders |
ccf::pal::Mutex | lock |
|
protected |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |