A wrapper class of an application provided rpc method handler. More...
#include <completion_queue.h>
Public Member Functions | |
void * | Deserialize (grpc_call *call, grpc_byte_buffer *req, grpc::Status *status, void **) final |
RpcMethodHandler (std::function< grpc::Status(ServiceType *, grpc::ServerContext *, const RequestType *, ResponseType *)> func, ServiceType *service) | |
void | RunHandler (const HandlerParameter ¶m) final |
Private Attributes | |
std::function< grpc::Status(ServiceType *, grpc::ServerContext *, const RequestType *, ResponseType *)> | func_ |
Application provided rpc handler function. More... | |
ServiceType * | service_ |
A wrapper class of an application provided rpc method handler.
Definition at line 71 of file include/grpcpp/impl/codegen/completion_queue.h.
|
inline |
Definition at line 102 of file impl/codegen/method_handler.h.
|
inlinefinal |
Definition at line 123 of file impl/codegen/method_handler.h.
|
inlinefinal |
Definition at line 109 of file impl/codegen/method_handler.h.
|
private |
Application provided rpc handler function.
Definition at line 135 of file impl/codegen/method_handler.h.
|
private |
Definition at line 137 of file impl/codegen/method_handler.h.