GRPC C++  1.62.0
Data Structures | Namespaces | Typedefs | Functions
method_handler.h File Reference
#include <grpc/byte_buffer.h>
#include <grpc/support/log.h>
#include <grpcpp/impl/rpc_service_method.h>
#include <grpcpp/support/byte_buffer.h>
#include <grpcpp/support/sync_stream.h>

Go to the source code of this file.

Data Structures

class  grpc::internal::RpcMethodHandler< ServiceType, RequestType, ResponseType, BaseRequestType, BaseResponseType >
 A wrapper class of an application provided rpc method handler. More...
 
class  grpc::internal::ClientStreamingHandler< ServiceType, RequestType, ResponseType >
 A wrapper class of an application provided client streaming handler. More...
 
class  grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >
 A wrapper class of an application provided server streaming handler. More...
 
class  grpc::internal::TemplatedBidiStreamingHandler< Streamer, WriteNeeded >
 A wrapper class of an application provided bidi-streaming handler. More...
 
class  grpc::internal::BidiStreamingHandler< ServiceType, RequestType, ResponseType >
 
class  grpc::internal::StreamedUnaryHandler< RequestType, ResponseType >
 
class  grpc::internal::SplitServerStreamingHandler< RequestType, ResponseType >
 
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. More...
 

Namespaces

 grpc
 An Alarm posts the user-provided tag to its associated completion queue or invokes the user-provided function on expiry or cancellation.
 
 grpc::internal
 Models a gRPC server.
 

Typedefs

typedef ErrorMethodHandler< grpc::StatusCode::UNIMPLEMENTEDgrpc::internal::UnknownMethodHandler
 
typedef ErrorMethodHandler< grpc::StatusCode::RESOURCE_EXHAUSTEDgrpc::internal::ResourceExhaustedHandler
 

Functions

template<class Callable >
::grpc::Status grpc::internal::CatchingFunctionHandler (Callable &&handler)
 
template<class ResponseType >
void grpc::internal::UnaryRunHandlerHelper (const MethodHandler::HandlerParameter &param, ResponseType *rsp, grpc::Status &status)
 A helper function with reduced templating to do the common work needed to actually send the server response. More...
 
template<class RequestType >
void * grpc::internal::UnaryDeserializeHelper (grpc_byte_buffer *req, grpc::Status *status, RequestType *request)
 A helper function with reduced templating to do deserializing. More...