Public Member Functions | Public Attributes | List of all members
grpc::internal::MethodHandler::HandlerParameter Struct Reference

#include <rpc_service_method.h>

Public Member Functions

 HandlerParameter (Call *c, grpc::ServerContextBase *context, void *req, Status req_status, void *handler_data, std::function< void()> requester)
 
 ~HandlerParameter ()
 

Public Attributes

Call *const call
 
const std::function< void()> call_requester
 
void *const internal_data
 
void *const request
 
grpc::ServerContextBase *const server_context
 
const Status status
 

Detailed Description

Definition at line 43 of file grpcpp/impl/codegen/rpc_service_method.h.

Constructor & Destructor Documentation

◆ HandlerParameter()

grpc::internal::MethodHandler::HandlerParameter::HandlerParameter ( Call c,
grpc::ServerContextBase context,
void *  req,
Status  req_status,
void *  handler_data,
std::function< void()>  requester 
)
inline

Constructor for HandlerParameter

Parameters
c: the gRPC Call structure for this server call
context: the ServerContext structure for this server call
req: the request payload, if appropriate for this RPC
req_status: the request status after any interceptors have run
handler_datainternal data for the handler.
requester: used only by the callback API. It is a function called by the RPC Controller to request another RPC (and also to set up the state required to make that request possible)

Definition at line 54 of file grpcpp/impl/codegen/rpc_service_method.h.

◆ ~HandlerParameter()

grpc::internal::MethodHandler::HandlerParameter::~HandlerParameter ( )
inline

Definition at line 63 of file grpcpp/impl/codegen/rpc_service_method.h.

Member Data Documentation

◆ call

Call* const grpc::internal::MethodHandler::HandlerParameter::call

Definition at line 64 of file grpcpp/impl/codegen/rpc_service_method.h.

◆ call_requester

const std::function<void()> grpc::internal::MethodHandler::HandlerParameter::call_requester

Definition at line 69 of file grpcpp/impl/codegen/rpc_service_method.h.

◆ internal_data

void* const grpc::internal::MethodHandler::HandlerParameter::internal_data

Definition at line 68 of file grpcpp/impl/codegen/rpc_service_method.h.

◆ request

void* const grpc::internal::MethodHandler::HandlerParameter::request

Definition at line 66 of file grpcpp/impl/codegen/rpc_service_method.h.

◆ server_context

grpc::ServerContextBase* const grpc::internal::MethodHandler::HandlerParameter::server_context

Definition at line 65 of file grpcpp/impl/codegen/rpc_service_method.h.

◆ status

const Status grpc::internal::MethodHandler::HandlerParameter::status

Definition at line 67 of file grpcpp/impl/codegen/rpc_service_method.h.


The documentation for this struct was generated from the following file:


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