GRPC C++  1.66.0
Public Member Functions | Static Public Member Functions
grpc::internal::ErrorMethodHandler< code > Class Template Reference

General method handler class for errors that prevent real method use e.g., handle unknown method by returning UNIMPLEMENTED error. More...

#include <completion_queue.h>

Public Member Functions

 ErrorMethodHandler (const std::string &message)
 
void RunHandler (const HandlerParameter &param) final
 
void * Deserialize (grpc_call *, grpc_byte_buffer *req, grpc::Status *, void **) final
 

Static Public Member Functions

template<class T >
static void FillOps (grpc::ServerContextBase *context, const std::string &message, T *ops)
 

Detailed Description

template<grpc::StatusCode code>
class grpc::internal::ErrorMethodHandler< code >

General method handler class for errors that prevent real method use e.g., handle unknown method by returning UNIMPLEMENTED error.

Constructor & Destructor Documentation

◆ ErrorMethodHandler()

template<grpc::StatusCode code>
grpc::internal::ErrorMethodHandler< code >::ErrorMethodHandler ( const std::string &  message)
inlineexplicit

Member Function Documentation

◆ Deserialize()

template<grpc::StatusCode code>
void* grpc::internal::ErrorMethodHandler< code >::Deserialize ( grpc_call ,
grpc_byte_buffer req,
grpc::Status ,
void **   
)
inlinefinal

◆ FillOps()

template<grpc::StatusCode code>
template<class T >
static void grpc::internal::ErrorMethodHandler< code >::FillOps ( grpc::ServerContextBase context,
const std::string &  message,
T *  ops 
)
inlinestatic

◆ RunHandler()

template<grpc::StatusCode code>
void grpc::internal::ErrorMethodHandler< code >::RunHandler ( const HandlerParameter &  param)
inlinefinal

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