GRPC C++  1.30.0
Data Structures | Public Member Functions | Friends
grpc_impl::ServerUnaryReactor Class Referenceabstract

#include <server_callback_impl.h>

Public Member Functions

 ServerUnaryReactor ()
 
 ~ServerUnaryReactor ()=default
 
void StartSendInitialMetadata ()
 StartSendInitialMetadata is exactly like ServerBidiReactor. More...
 
void Finish (::grpc::Status s)
 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_impl::internal::ServerReactor
virtual ~ServerReactor ()=default
 
virtual bool InternalInlineable ()
 

Friends

class ServerCallbackUnary
 

Constructor & Destructor Documentation

◆ ServerUnaryReactor()

grpc_impl::ServerUnaryReactor::ServerUnaryReactor ( )
inline

◆ ~ServerUnaryReactor()

grpc_impl::ServerUnaryReactor::~ServerUnaryReactor ( )
default

Member Function Documentation

◆ Finish()

void grpc_impl::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_impl::ServerUnaryReactor::OnCancel ( )
inlineoverridevirtual

◆ OnDone()

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

◆ OnSendInitialMetadataDone()

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

The following notifications are exactly like ServerBidiReactor.

◆ StartSendInitialMetadata()

void grpc_impl::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: