GRPC C++  1.66.0
Data Structures | Public Member Functions | Friends
grpc::ServerUnaryReactor Class Referenceabstract

#include <server_callback.h>

Public Member Functions

 ServerUnaryReactor ()
 
 ~ServerUnaryReactor () override=default
 
void StartSendInitialMetadata () ABSL_LOCKS_EXCLUDED(call_mu_)
 StartSendInitialMetadata is exactly like ServerBidiReactor. More...
 
void Finish (grpc::Status s) ABSL_LOCKS_EXCLUDED(call_mu_)
 Finish is similar to ServerBidiReactor except for one detail. More...
 
virtual void OnSendInitialMetadataDone (bool)
 The following notifications are exactly like ServerBidiReactor. More...
 
void OnDone () override=0
 
void OnCancel () override
 
- Public Member Functions inherited from grpc::internal::ServerReactor
virtual ~ServerReactor ()=default
 
virtual bool InternalInlineable ()
 

Friends

class ServerCallbackUnary
 

Constructor & Destructor Documentation

◆ ServerUnaryReactor()

grpc::ServerUnaryReactor::ServerUnaryReactor ( )
inline

◆ ~ServerUnaryReactor()

grpc::ServerUnaryReactor::~ServerUnaryReactor ( )
overridedefault

Member Function Documentation

◆ Finish()

void grpc::ServerUnaryReactor::Finish ( grpc::Status  s)
inline

Finish is similar to ServerBidiReactor except for one detail.

If the status is non-OK, any message will not be sent. Instead, the client will only receive the status and any trailing metadata.

◆ OnCancel()

void grpc::ServerUnaryReactor::OnCancel ( )
inlineoverridevirtual

◆ OnDone()

void grpc::ServerUnaryReactor::OnDone ( )
overridepure virtual

◆ OnSendInitialMetadataDone()

virtual void grpc::ServerUnaryReactor::OnSendInitialMetadataDone ( bool  )
inlinevirtual

The following notifications are exactly like ServerBidiReactor.

◆ StartSendInitialMetadata()

void grpc::ServerUnaryReactor::StartSendInitialMetadata ( )
inline

StartSendInitialMetadata is exactly like ServerBidiReactor.

Friends And Related Function Documentation

◆ ServerCallbackUnary

friend class ServerCallbackUnary
friend

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