Classes | Namespaces | Functions | Variables
binder_server.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/binder/server/binder_server.h"
#include <memory>
#include <string>
#include <utility>
#include "absl/memory/memory.h"
#include <grpc/grpc.h>
#include "src/core/ext/transport/binder/transport/binder_transport.h"
#include "src/core/ext/transport/binder/utils/ndk_binder.h"
#include "src/core/ext/transport/binder/wire_format/binder_android.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/surface/server.h"
#include "src/core/lib/transport/error_utils.h"
Include dependency graph for binder_server.cc:

Go to the source code of this file.

Classes

class  grpc_core::BinderServerListener
 

Namespaces

 grpc
 
 grpc::experimental
 
 grpc::experimental::binder
 
 grpc_core
 

Functions

bool grpc_core::AddBinderPort (const std::string &addr, grpc_server *server, BinderTxReceiverFactory factory, std::shared_ptr< grpc::experimental::binder::SecurityPolicy > security_policy)
 
void grpc::experimental::binder::AddEndpointBinder (const std::string &service, void *endpoint_binder)
 
void * grpc::experimental::binder::GetEndpointBinder (const std::string &service)
 
void grpc_add_endpoint_binder (const std::string &service, void *endpoint_binder)
 
void * grpc_get_endpoint_binder (const std::string &service)
 
void grpc_remove_endpoint_binder (const std::string &service)
 
void grpc::experimental::binder::RemoveEndpointBinder (const std::string &service)
 

Variables

static absl::flat_hash_map< std::string, void * > * g_endpoint_binder_pool
 

Function Documentation

◆ grpc_add_endpoint_binder()

void grpc_add_endpoint_binder ( const std::string &  service,
void *  endpoint_binder 
)

Definition at line 106 of file binder_server.cc.

◆ grpc_get_endpoint_binder()

void* grpc_get_endpoint_binder ( const std::string &  service)

Definition at line 123 of file binder_server.cc.

◆ grpc_remove_endpoint_binder()

void grpc_remove_endpoint_binder ( const std::string &  service)

Definition at line 115 of file binder_server.cc.

Variable Documentation

◆ g_endpoint_binder_pool

absl::flat_hash_map<std::string, void*>* g_endpoint_binder_pool
static
Initial value:
=
nullptr

Definition at line 94 of file binder_server.cc.



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