template <typename RequestT, typename ResponseT>
class MessageAllocator
Defined at line 63 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/message_allocator.h
A custom allocator can be set via the generated code to a callback unary
method, such as SetMessageAllocatorFor_Echo(custom_allocator). The allocator
needs to be alive for the lifetime of the server.
Implementations need to be thread-safe.
Public Methods
MessageHolder<RequestT, ResponseT> * AllocateMessages ()
void ~MessageAllocator<RequestT, ResponseT> ()
Defined at line 65 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/message_allocator.h