Public Member Functions | Private Attributes | List of all members
grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType > Class Template Reference

A wrapper class of an application provided server streaming handler. More...

#include <byte_buffer.h>

Public Member Functions

void * Deserialize (grpc_call *call, grpc_byte_buffer *req, grpc::Status *status, void **) final
 
void RunHandler (const HandlerParameter &param) final
 
 ServerStreamingHandler (std::function< grpc::Status(ServiceType *, grpc::ServerContext *, const RequestType *, ServerWriter< ResponseType > *)> func, ServiceType *service)
 

Private Attributes

std::function< grpc::Status(ServiceType *, grpc::ServerContext *, const RequestType *, ServerWriter< ResponseType > *)> func_
 
ServiceType * service_
 

Detailed Description

template<class ServiceType, class RequestType, class ResponseType>
class grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >

A wrapper class of an application provided server streaming handler.

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

Constructor & Destructor Documentation

◆ ServerStreamingHandler()

template<class ServiceType , class RequestType , class ResponseType >
grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >::ServerStreamingHandler ( std::function< grpc::Status(ServiceType *, grpc::ServerContext *, const RequestType *, ServerWriter< ResponseType > *)>  func,
ServiceType *  service 
)
inline

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

Member Function Documentation

◆ Deserialize()

template<class ServiceType , class RequestType , class ResponseType >
void* grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >::Deserialize ( grpc_call call,
grpc_byte_buffer req,
grpc::Status status,
void **   
)
inlinefinal

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

◆ RunHandler()

template<class ServiceType , class RequestType , class ResponseType >
void grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >::RunHandler ( const HandlerParameter &  param)
inlinefinal

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

Member Data Documentation

◆ func_

template<class ServiceType , class RequestType , class ResponseType >
std::function<grpc::Status(ServiceType*, grpc::ServerContext*, const RequestType*, ServerWriter<ResponseType>*)> grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >::func_
private

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

◆ service_

template<class ServiceType , class RequestType , class ResponseType >
ServiceType* grpc::internal::ServerStreamingHandler< ServiceType, RequestType, ResponseType >::service_
private

Definition at line 250 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