template <class Streamer, bool WriteNeeded>

class TemplatedBidiStreamingHandler

Defined at line 262 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/method_handler.h

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)

Public Methods

void TemplatedBidiStreamingHandler<Streamer, WriteNeeded> (std::function<grpc::Status (grpc::ServerContext *, Streamer *)> func)

Defined at line 264 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/method_handler.h

void RunHandler (const HandlerParameter & param)

Defined at line 268 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/method_handler.h