GRPC C++  1.81.0
Public Member Functions | Friends
grpc::experimental::ClientSessionReactor Class Referenceabstract

ClientSessionReactor is a reactor-style interface for a session RPC. More...

#include <client_callback.h>

Public Member Functions

void StartCall ()
 
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 OnSessionReady (grpc::internal::Call call)=0
 
virtual void OnSessionAcknowledged (bool)
 
- Public Member Functions inherited from grpc::internal::ClientReactor
virtual ~ClientReactor ()=default
 
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 ClientCallbackSession
 

Detailed Description

ClientSessionReactor is a reactor-style interface for a session RPC.

This will be activated as any other reactor-based RPC, by calling StartCall on the reactor.

Member Function Documentation

◆ OnDone()

void grpc::experimental::ClientSessionReactor::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.

◆ OnSessionAcknowledged()

virtual void grpc::experimental::ClientSessionReactor::OnSessionAcknowledged ( bool  )
inlinevirtual

◆ OnSessionReady()

virtual void grpc::experimental::ClientSessionReactor::OnSessionReady ( grpc::internal::Call  call)
pure virtual

◆ StartCall()

void grpc::experimental::ClientSessionReactor::StartCall ( )
inline

Friends And Related Function Documentation

◆ ClientCallbackSession

friend class ClientCallbackSession
friend

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