Public Member Functions | List of all members
grpc::internal::ClientReactor Class Referenceabstract

#include <client_callback.h>

Inheritance diagram for grpc::internal::ClientReactor:
Inheritance graph
[legend]

Public Member Functions

virtual void InternalScheduleOnDone (grpc::Status s)
 
virtual bool InternalTrailersOnly (const grpc_call *call) const
 
virtual void OnDone (const grpc::Status &)=0
 
virtual ~ClientReactor ()=default
 

Detailed Description

Definition at line 115 of file impl/codegen/client_callback.h.

Constructor & Destructor Documentation

◆ ~ClientReactor()

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

Member Function Documentation

◆ InternalScheduleOnDone()

void grpc::internal::ClientReactor::InternalScheduleOnDone ( grpc::Status  s)
virtual

InternalScheduleOnDone 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.

Definition at line 33 of file src/cpp/client/client_callback.cc.

◆ InternalTrailersOnly()

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.

Definition at line 57 of file src/cpp/client/client_callback.cc.

◆ 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 files:


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