GRPC C++  1.39.1
Public Member Functions | Friends
grpc::ClientReadReactor< Response > Class Template Reference

ClientReadReactor is the interface for a server-streaming RPC. More...

#include <client_callback.h>

Public Member Functions

void StartCall ()
 
void StartRead (Response *resp)
 
void AddHold ()
 
void AddMultipleHolds (int holds)
 
void RemoveHold ()
 
void OnDone (const ::grpc::Status &) override
 Called by the library when all operations associated with this RPC have completed and all Holds have been removed. More...
 
virtual void OnReadInitialMetadataDone (bool)
 
virtual void OnReadDone (bool)
 
- Public Member Functions inherited from grpc::internal::ClientReactor
virtual ~ClientReactor ()=default
 
virtual void InternalScheduleOnDone (::grpc::Status s)
 InternalScheduleOnDone is not part of the API and is not meant to be overridden. More...
 
virtual bool InternalTrailersOnly (const grpc_call *call) const
 InternalTrailersOnly is not part of the API and is not meant to be overridden. More...
 

Friends

class ClientCallbackReader< Response >
 

Detailed Description

template<class Response>
class grpc::ClientReadReactor< Response >

ClientReadReactor is the interface for a server-streaming RPC.

All public methods behave as in ClientBidiReactor.

Member Function Documentation

◆ AddHold()

template<class Response >
void grpc::ClientReadReactor< Response >::AddHold ( )
inline

◆ AddMultipleHolds()

template<class Response >
void grpc::ClientReadReactor< Response >::AddMultipleHolds ( int  holds)
inline

◆ OnDone()

template<class Response >
void grpc::ClientReadReactor< Response >::OnDone ( const ::grpc::Status )
inlineoverridevirtual

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

Implements grpc::internal::ClientReactor.

◆ OnReadDone()

template<class Response >
virtual void grpc::ClientReadReactor< Response >::OnReadDone ( bool  )
inlinevirtual

◆ OnReadInitialMetadataDone()

template<class Response >
virtual void grpc::ClientReadReactor< Response >::OnReadInitialMetadataDone ( bool  )
inlinevirtual

◆ RemoveHold()

template<class Response >
void grpc::ClientReadReactor< Response >::RemoveHold ( )
inline

◆ StartCall()

template<class Response >
void grpc::ClientReadReactor< Response >::StartCall ( )
inline

◆ StartRead()

template<class Response >
void grpc::ClientReadReactor< Response >::StartRead ( Response *  resp)
inline

Friends And Related Function Documentation

◆ ClientCallbackReader< Response >

template<class Response >
friend class ClientCallbackReader< Response >
friend

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