GRPC C++  1.66.0
Public Member Functions
grpc::internal::ClientReactor Class Referenceabstract

#include <client_callback.h>

Public Member Functions

virtual ~ClientReactor ()=default
 
virtual void OnDone (const grpc::Status &)=0
 Called by the library when all operations associated with this RPC have completed and all Holds have been removed. More...
 
virtual bool InternalTrailersOnly (const grpc_call *call) const
 InternalTrailersOnly is not part of the API and is not meant to be overridden. More...
 

Constructor & Destructor Documentation

◆ ~ClientReactor()

virtual grpc::internal::ClientReactor::~ClientReactor ( )
virtualdefault

Member Function Documentation

◆ InternalTrailersOnly()

virtual bool grpc::internal::ClientReactor::InternalTrailersOnly ( const grpc_call call) const
virtual

InternalTrailersOnly is not part of the API and is not meant to be overridden.

It is virtual to allow successful builds for certain bazel build users that only want to depend on gRPC codegen headers and not the full library (although this is not a generally-supported option). Although the virtual call is slower than a direct call, this function is heavyweight and the cost of the virtual call is not much in comparison. This function may be removed or devirtualized in the future.

◆ OnDone()

virtual void grpc::internal::ClientReactor::OnDone ( const grpc::Status )
pure virtual

Called by the library when all operations associated with this RPC have completed and all Holds have been removed.

OnDone provides the RPC status outcome for both successful and failed RPCs. If it is never called on an RPC, it indicates an application-level problem (like failure to remove a hold).

Parameters
[in]sThe status outcome of this RPC

Implemented in grpc::ClientUnaryReactor.


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