Skip to content

Template Class TRPCBackend

Template Class TRPCBackend

  • Defined in File RPCBackend.h

Inheritance Relationships

Derived Types

template <class ServiceType, typename RequestType, typename ResponseType>
class TRPCBackend

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/RPCBackend.h Subclassed by TConsumerRPCBackend< ServiceType, RequestType, ResponseType >, TExchangeRPCBackend< ServiceType, RequestType, ResponseType >, TProducerRPCBackend< ServiceType, RequestType, ResponseType >


Public Functions

SymbolDetails
TRPCBackend
SetCompletionQueue

TRPCBackend

inline TRPCBackend(AsyncRPCHandle TargetRPC,
std::shared_ptr<ServiceType> Service,
std::unique_ptr<ServerCompletionQueue> CQueue)
#DirectionNameTypeDescription
1TargetRPCAsyncRPCHandle
2Servicestd::shared_ptr< ServiceType >
3CQueuestd::unique_ptr< ServerCompletionQueue >

Attributes: inline

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/RPCBackend.h

SetCompletionQueue

inline void SetCompletionQueue(std::unique_ptr<ServerCompletionQueue> CQueue)
#DirectionNameTypeDescription
1CQueuestd::unique_ptr< ServerCompletionQueue >

Attributes: inline

Source: Source/Schola/Protobuf/Public/ProtobufBackends/gRPC/RPCBackend.h


Protected Types

SymbolDetails
AsyncRPCHandleThe signature of the handler for an asynchronous RPC, that is handled by this CallData.

Type Alias AsyncRPCHandle

using AsyncRPCHandle =
void (ServiceType::*)(grpc::ServerContext *context, RequestType *request,
ServerAsyncResponseWriter<ResponseType> *response,
grpc::CompletionQueue *new_call_cq,
ServerCompletionQueue *notification_cq, void *tag)

The signature of the handler for an asynchronous RPC, that is handled by this CallData.

Protected Attributes

SymbolDetails
_CQueue
Service
Server
TargetRPC

_CQueue

std::unique_ptr<ServerCompletionQueue> _CQueue

Service

std::shared_ptr<ServiceType> Service

Server

std::unique_ptr<Server> Server

TargetRPC

AsyncRPCHandle TargetRPC