|
TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
|
Holder for a function pointer that creates a gRPC channel. More...
#include <tec_grpc_client.hpp>
Public Attributes | |
| std::shared_ptr< Channel >(* | fptr )(const std::string &, const std::shared_ptr< Credentials > &, const Arguments &) |
| Function pointer matching signature of grpc::CreateChannel / CreateCustomChannel / etc. | |
Holder for a function pointer that creates a gRPC channel.
Abstracts away the exact channel creation function (grpc::CreateChannel, CreateChannelWithInterceptor, etc.) so different channel factories can be injected at construction time.