#include <client_callback.h>
◆ ~ClientReactor()
virtual grpc::internal::ClientReactor::~ClientReactor |
( |
| ) |
|
|
virtualdefault |
◆ 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] | s | The status outcome of this RPC |
Implemented in grpc::ClientUnaryReactor.
The documentation for this class was generated from the following file: