GRPC C++  1.30.0
Public Member Functions
grpc_impl::internal::RpcMethodHandler< ServiceType, RequestType, ResponseType > Class Template Reference

A wrapper class of an application provided rpc method handler. More...

#include <byte_buffer.h>

Public Member Functions

 RpcMethodHandler (std::function<::grpc::Status(ServiceType *, ::grpc_impl::ServerContext *, const RequestType *, ResponseType *)> func, ServiceType *service)
 
void RunHandler (const HandlerParameter &param) final
 
void * Deserialize (grpc_call *call, grpc_byte_buffer *req, ::grpc::Status *status, void **) final
 
- Public Member Functions inherited from grpc::internal::MethodHandler
virtual ~MethodHandler ()
 
virtual void * Deserialize (grpc_call *, grpc_byte_buffer *req, Status *, void **)
 

Detailed Description

template<class ServiceType, class RequestType, class ResponseType>
class grpc_impl::internal::RpcMethodHandler< ServiceType, RequestType, ResponseType >

A wrapper class of an application provided rpc method handler.

Constructor & Destructor Documentation

◆ RpcMethodHandler()

template<class ServiceType , class RequestType , class ResponseType >
grpc_impl::internal::RpcMethodHandler< ServiceType, RequestType, ResponseType >::RpcMethodHandler ( std::function<::grpc::Status(ServiceType *, ::grpc_impl::ServerContext *, const RequestType *, ResponseType *)>  func,
ServiceType *  service 
)
inline

Member Function Documentation

◆ Deserialize()

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

◆ RunHandler()

template<class ServiceType , class RequestType , class ResponseType >
void grpc_impl::internal::RpcMethodHandler< ServiceType, RequestType, ResponseType >::RunHandler ( const HandlerParameter param)
inlinefinalvirtual

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