Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
grpc::internal::ErrorMethodHandler< code > Class Template Reference

#include <byte_buffer.h>

Public Member Functions

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

Static Public Member Functions

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

Private Attributes

const std::string message_
 

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.

Definition at line 49 of file include/grpcpp/impl/codegen/byte_buffer.h.

Constructor & Destructor Documentation

◆ ErrorMethodHandler()

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

Definition at line 359 of file impl/codegen/method_handler.h.

Member Function Documentation

◆ Deserialize()

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

Definition at line 385 of file impl/codegen/method_handler.h.

◆ 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

Definition at line 362 of file impl/codegen/method_handler.h.

◆ RunHandler()

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

Definition at line 376 of file impl/codegen/method_handler.h.

Member Data Documentation

◆ message_

template<grpc::StatusCode code>
const std::string grpc::internal::ErrorMethodHandler< code >::message_
private

Definition at line 395 of file impl/codegen/method_handler.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:33