GRPC C++  1.66.0
Public Member Functions
grpc::ContextAllocator Class Reference

A CallbackServerContext allows users to use the contents of the CallbackServerContext or GenericCallbackServerContext structure for the callback API. More...

#include <server_context.h>

Public Member Functions

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

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.

Constructor & Destructor Documentation

◆ ~ContextAllocator()

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

Member Function Documentation

◆ NewCallbackServerContext()

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

◆ NewGenericCallbackServerContext()

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

◆ Release() [1/2]

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

◆ Release() [2/2]

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

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