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

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

#include <server_callback_impl.h>

Public Member Functions

 ServerWriteReactor ()
 
 ~ServerWriteReactor ()=default
 
void StartSendInitialMetadata ()
 The following operation initiations are exactly like ServerBidiReactor. More...
 
void StartWrite (const Response *resp)
 
void StartWrite (const Response *resp, ::grpc::WriteOptions options)
 
void StartWriteAndFinish (const Response *resp, ::grpc::WriteOptions options, ::grpc::Status s)
 
void StartWriteLast (const Response *resp, ::grpc::WriteOptions options)
 
void Finish (::grpc::Status s)
 
virtual void OnSendInitialMetadataDone (bool)
 The following notifications are exactly like ServerBidiReactor. More...
 
virtual void OnWriteDone (bool)
 
void OnDone () override=0
 
void OnCancel () override
 
- Public Member Functions inherited from grpc_impl::internal::ServerReactor
virtual ~ServerReactor ()=default
 
virtual bool InternalInlineable ()
 

Friends

class ServerCallbackWriter< Response >
 

Detailed Description

template<class Response>
class grpc_impl::ServerWriteReactor< Response >

ServerWriteReactor is the interface for a server-streaming RPC.

Constructor & Destructor Documentation

◆ ServerWriteReactor()

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

◆ ~ServerWriteReactor()

template<class Response>
grpc_impl::ServerWriteReactor< Response >::~ServerWriteReactor ( )
default

Member Function Documentation

◆ Finish()

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

◆ OnCancel()

template<class Response>
void grpc_impl::ServerWriteReactor< Response >::OnCancel ( )
inlineoverridevirtual

◆ OnDone()

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

◆ OnSendInitialMetadataDone()

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

The following notifications are exactly like ServerBidiReactor.

◆ OnWriteDone()

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

◆ StartSendInitialMetadata()

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

The following operation initiations are exactly like ServerBidiReactor.

◆ StartWrite() [1/2]

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

◆ StartWrite() [2/2]

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

◆ StartWriteAndFinish()

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

◆ StartWriteLast()

template<class Response>
void grpc_impl::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: