#include <endpoint_binder_pool.h>
Public Member Functions | |
void | AddEndpointBinder (std::string conn_id, std::unique_ptr< grpc_binder::Binder > b) |
void | GetEndpointBinder (std::string conn_id, std::function< void(std::unique_ptr< grpc_binder::Binder >)> cb) |
Private Member Functions | |
absl::flat_hash_map< std::string, std::unique_ptr< grpc_binder::Binder > > binder_map_ | ABSL_GUARDED_BY (m_) |
absl::flat_hash_map< std::string, std::function< void(std::unique_ptr< grpc_binder::Binder >)> > pending_requests_ | ABSL_GUARDED_BY (m_) |
Private Attributes | |
grpc_core::Mutex | m_ |
Definition at line 36 of file endpoint_binder_pool.h.
|
private |
|
private |
void grpc_binder::EndpointBinderPool::AddEndpointBinder | ( | std::string | conn_id, |
std::unique_ptr< grpc_binder::Binder > | b | ||
) |
Definition at line 82 of file endpoint_binder_pool.cc.
void grpc_binder::EndpointBinderPool::GetEndpointBinder | ( | std::string | conn_id, |
std::function< void(std::unique_ptr< grpc_binder::Binder >)> | cb | ||
) |
Definition at line 56 of file endpoint_binder_pool.cc.
|
private |
Definition at line 52 of file endpoint_binder_pool.h.