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

#include <byte_buffer.h>

Public Member Functions

 CallbackUnaryHandler (std::function< ServerUnaryReactor *(::grpc_impl::CallbackServerContext *, const RequestType *, ResponseType *)> get_reactor)
 
void SetMessageAllocator (::grpc::experimental::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
 
- Public Member Functions inherited from grpc::internal::MethodHandler
virtual ~MethodHandler ()
 
virtual void * Deserialize (grpc_call *, grpc_byte_buffer *req, Status *, void **)
 

Constructor & Destructor Documentation

◆ CallbackUnaryHandler()

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

Member Function Documentation

◆ Deserialize()

template<class RequestType , class ResponseType >
void* grpc_impl::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_impl::internal::CallbackUnaryHandler< RequestType, ResponseType >::RunHandler ( const HandlerParameter param)
inlinefinalvirtual

Invoke SetupReactor as the last part of the handler

Implements grpc::internal::MethodHandler.

◆ SetMessageAllocator()

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

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