|
TEC
A lightweight C++ library enabling safe, efficient execution in multithreaded and concurrent systems.
|
Type traits / type aliases collection for configuring a gRPC client. More...
#include <tec_grpc_client.hpp>
Public Types | |
| typedef TService | Service |
| gRPC service stub type | |
| typedef TGrpcChannel | Channel |
| gRPC channel type | |
| typedef TGrpcClientCredentials | Credentials |
| credentials factory type | |
| typedef TGrpcChannelArguments | Arguments |
| channel creation arguments | |
| typedef TGrpcCompressionAlgorithm | CompressionAlgorithm |
| supported compression algorithms enum | |
Type traits / type aliases collection for configuring a gRPC client.
This structure is used to group and alias all the gRPC-related types that a particular GrpcClient instantiation will use. It allows clean decoupling between the client implementation and the concrete gRPC service/channel/credentials types.
| TService | The generated gRPC service class (e.g. MyService::Stub) |
| TGrpcChannel | Channel type (usually grpc::Channel) |
| TGrpcClientCredentials | Credentials type (usually grpc::ChannelCredentials) |
| TGrpcChannelArguments | Channel creation arguments (usually grpc::ChannelArguments) |
| TGrpcCompressionAlgorithm | Compression algorithm enum (usually grpc::CompressionAlgorithm) |