TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
Loading...
Searching...
No Matches
tec::GrpcClient< TParams, Traits >::ChannelBuilder Struct Reference

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.
 

Detailed Description

template<typename TParams, typename Traits>
struct tec::GrpcClient< TParams, Traits >::ChannelBuilder

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.


The documentation for this struct was generated from the following file: