GRPC C++  1.66.0
Data Structures | Public Member Functions | Friends
grpc::ServerWriteReactor< Response > Class Template Referenceabstract

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

#include <server_callback.h>

Public Member Functions

 ServerWriteReactor ()
 
 ~ServerWriteReactor () override=default
 
void StartSendInitialMetadata () ABSL_LOCKS_EXCLUDED(writer_mu_)
 The following operation initiations are exactly like ServerBidiReactor. More...
 
void StartWrite (const Response *resp)
 
void StartWrite (const Response *resp, grpc::WriteOptions options) ABSL_LOCKS_EXCLUDED(writer_mu_)
 
void StartWriteAndFinish (const Response *resp, grpc::WriteOptions options, grpc::Status s) ABSL_LOCKS_EXCLUDED(writer_mu_)
 
void StartWriteLast (const Response *resp, grpc::WriteOptions options)
 
void Finish (grpc::Status s) ABSL_LOCKS_EXCLUDED(writer_mu_)
 
virtual void OnSendInitialMetadataDone (bool)
 The following notifications are exactly like ServerBidiReactor. More...
 
virtual void OnWriteDone (bool)
 
void OnDone () override=0
 
void OnCancel () override
 

Friends

class ServerCallbackWriter< Response >
 

Detailed Description

template<class Response>
class grpc::ServerWriteReactor< Response >

ServerWriteReactor is the interface for a server-streaming RPC.

Constructor & Destructor Documentation

◆ ServerWriteReactor()

template<class Response >
grpc::ServerWriteReactor< Response >::ServerWriteReactor ( )
inline

◆ ~ServerWriteReactor()

template<class Response >
grpc::ServerWriteReactor< Response >::~ServerWriteReactor ( )
overridedefault

Member Function Documentation

◆ Finish()

template<class Response >
void grpc::ServerWriteReactor< Response >::Finish ( grpc::Status  s)
inline

◆ OnCancel()

template<class Response >
void grpc::ServerWriteReactor< Response >::OnCancel ( )
inlineoverride

◆ OnDone()

template<class Response >
void grpc::ServerWriteReactor< Response >::OnDone ( )
overridepure virtual

◆ OnSendInitialMetadataDone()

template<class Response >
virtual void grpc::ServerWriteReactor< Response >::OnSendInitialMetadataDone ( bool  )
inlinevirtual

The following notifications are exactly like ServerBidiReactor.

◆ OnWriteDone()

template<class Response >
virtual void grpc::ServerWriteReactor< Response >::OnWriteDone ( bool  )
inlinevirtual

◆ StartSendInitialMetadata()

template<class Response >
void grpc::ServerWriteReactor< Response >::StartSendInitialMetadata ( )
inline

The following operation initiations are exactly like ServerBidiReactor.

◆ StartWrite() [1/2]

template<class Response >
void grpc::ServerWriteReactor< Response >::StartWrite ( const Response *  resp)
inline

◆ StartWrite() [2/2]

template<class Response >
void grpc::ServerWriteReactor< Response >::StartWrite ( const Response *  resp,
grpc::WriteOptions  options 
)
inline

◆ StartWriteAndFinish()

template<class Response >
void grpc::ServerWriteReactor< Response >::StartWriteAndFinish ( const Response *  resp,
grpc::WriteOptions  options,
grpc::Status  s 
)
inline

◆ StartWriteLast()

template<class Response >
void grpc::ServerWriteReactor< Response >::StartWriteLast ( const Response *  resp,
grpc::WriteOptions  options 
)
inline

Friends And Related Function Documentation

◆ ServerCallbackWriter< Response >

template<class Response >
friend class ServerCallbackWriter< Response >
friend

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