Public Member Functions | List of all members
grpc::ContextAllocator Class Reference

#include <server_context.h>

Public Member Functions

virtual CallbackServerContextNewCallbackServerContext ()
 
virtual GenericCallbackServerContextNewGenericCallbackServerContext ()
 
virtual void Release (CallbackServerContext *)
 
virtual void Release (GenericCallbackServerContext *)
 
virtual ~ContextAllocator ()
 

Detailed Description

A CallbackServerContext allows users to use the contents of the CallbackServerContext or GenericCallbackServerContext structure for the callback API. The library will invoke the allocator any time a new call is initiated. and call the Release method after the server OnDone.

Definition at line 650 of file grpcpp/impl/codegen/server_context.h.

Constructor & Destructor Documentation

◆ ~ContextAllocator()

virtual grpc::ContextAllocator::~ContextAllocator ( )
inlinevirtual

Definition at line 652 of file grpcpp/impl/codegen/server_context.h.

Member Function Documentation

◆ NewCallbackServerContext()

virtual CallbackServerContext* grpc::ContextAllocator::NewCallbackServerContext ( )
inlinevirtual

Definition at line 654 of file grpcpp/impl/codegen/server_context.h.

◆ NewGenericCallbackServerContext()

virtual GenericCallbackServerContext* grpc::ContextAllocator::NewGenericCallbackServerContext ( )
inlinevirtual

Definition at line 656 of file grpcpp/impl/codegen/server_context.h.

◆ Release() [1/2]

virtual void grpc::ContextAllocator::Release ( CallbackServerContext )
inlinevirtual

Definition at line 660 of file grpcpp/impl/codegen/server_context.h.

◆ Release() [2/2]

virtual void grpc::ContextAllocator::Release ( GenericCallbackServerContext )
inlinevirtual

Definition at line 662 of file grpcpp/impl/codegen/server_context.h.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:30