GRPC C++  1.46.2
Data Structures | Public Member Functions
grpc::internal::CallbackUnaryHandler< RequestType, ResponseType > Class Template Reference

#include <byte_buffer.h>

Public Member Functions

 CallbackUnaryHandler (std::function< ServerUnaryReactor *(grpc::CallbackServerContext *, const RequestType *, ResponseType *)> get_reactor)
 
void SetMessageAllocator (MessageAllocator< RequestType, ResponseType > *allocator)
 
void RunHandler (const HandlerParameter &param) final
 
void * Deserialize (grpc_call *call, grpc_byte_buffer *req, grpc::Status *status, void **handler_data) final
 

Constructor & Destructor Documentation

◆ CallbackUnaryHandler()

template<class RequestType , class ResponseType >
grpc::internal::CallbackUnaryHandler< RequestType, ResponseType >::CallbackUnaryHandler ( std::function< ServerUnaryReactor *(grpc::CallbackServerContext *, const RequestType *, ResponseType *)>  get_reactor)
inlineexplicit

Member Function Documentation

◆ Deserialize()

template<class RequestType , class ResponseType >
void* grpc::internal::CallbackUnaryHandler< RequestType, ResponseType >::Deserialize ( grpc_call call,
grpc_byte_buffer req,
grpc::Status status,
void **  handler_data 
)
inlinefinal

◆ RunHandler()

template<class RequestType , class ResponseType >
void grpc::internal::CallbackUnaryHandler< RequestType, ResponseType >::RunHandler ( const HandlerParameter &  param)
inlinefinal

Invoke SetupReactor as the last part of the handler

◆ SetMessageAllocator()

template<class RequestType , class ResponseType >
void grpc::internal::CallbackUnaryHandler< RequestType, ResponseType >::SetMessageAllocator ( MessageAllocator< RequestType, ResponseType > *  allocator)
inline

The documentation for this class was generated from the following files: