Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc_binder::EndpointBinderPool Class Reference

#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_
 

Detailed Description

Definition at line 36 of file endpoint_binder_pool.h.

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/2]

absl::flat_hash_map<std::string, std::unique_ptr<grpc_binder::Binder> > binder_map_ grpc_binder::EndpointBinderPool::ABSL_GUARDED_BY ( m_  )
private

◆ ABSL_GUARDED_BY() [2/2]

absl::flat_hash_map<std::string, std::function<void(std::unique_ptr<grpc_binder::Binder>)> > pending_requests_ grpc_binder::EndpointBinderPool::ABSL_GUARDED_BY ( m_  )
private

◆ AddEndpointBinder()

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.

◆ GetEndpointBinder()

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.

Member Data Documentation

◆ m_

grpc_core::Mutex grpc_binder::EndpointBinderPool::m_
private

Definition at line 52 of file endpoint_binder_pool.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:34