GRPC C++
1.30.0
|
A wrapper class of an application provided bidi-streaming handler. More...
#include <completion_queue_impl.h>
Public Member Functions | |
TemplatedBidiStreamingHandler (std::function<::grpc::Status(::grpc_impl::ServerContext *, Streamer *)> func) | |
void | RunHandler (const HandlerParameter ¶m) final |
Public Member Functions inherited from grpc::internal::MethodHandler | |
virtual | ~MethodHandler () |
virtual void * | Deserialize (grpc_call *, grpc_byte_buffer *req, Status *, void **) |
A wrapper class of an application provided bidi-streaming handler.
This also applies to server-streamed implementation of a unary method with the additional requirement that such methods must have done a write for status to be ok Since this is used by more than 1 class, the service is not passed in. Instead, it is expected to be an implicitly-captured argument of func (through bind or something along those lines)
|
inline |
|
inlinefinalvirtual |
Implements grpc::internal::MethodHandler.