GRPC C++
1.13.0-dev
|
Primary implementation of CallOpSetInterface. More...
#include <call.h>
Public Member Functions | |
CallOpSet () | |
void | FillOps (grpc_call *call, grpc_op *ops, size_t *nops) override |
Fills in grpc_op, starting from ops[*nops] and moving upwards. More... | |
bool | FinalizeResult (void **tag, bool *status) override |
Called prior to returning from Next(), return value is the status of the operation (return status is the default thing to do). More... | |
void | set_output_tag (void *return_tag) |
![]() | |
virtual | ~CompletionQueueTag () |
Primary implementation of CallOpSetInterface.
Since we cannot use variadic templates, we declare slots up to the maximum count of ops we'll need in a set. We leverage the empty base class optimization to slim this class (especially when there are many unused slots used). To avoid duplicate base classes, the template parmeter for CallNoOp is varied by argument position.
|
inline |
|
inlineoverridevirtual |
Fills in grpc_op, starting from ops[*nops] and moving upwards.
Implements grpc::internal::CallOpSetInterface.
|
inlineoverridevirtual |
Called prior to returning from Next(), return value is the status of the operation (return status is the default thing to do).
If this function returns false, the tag is dropped and not returned from the completion queue
Implements grpc::internal::CompletionQueueTag.
|
inline |