GRPC C++  0.11.0.0
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions
grpc::ServerWriter< W > Class Template Reference

#include <completion_queue.h>

Public Member Functions

 ServerWriter (Call *call, ServerContext *ctx)
 
void SendInitialMetadata ()
 
bool Write (const W &msg, const WriteOptions &options) GRPC_OVERRIDE
 Blocking write msg to the stream with options. More...
 
- Public Member Functions inherited from grpc::WriterInterface< W >
virtual ~WriterInterface ()
 
bool Write (const W &msg)
 Blocking write msg to the stream with default options. More...
 

Constructor & Destructor Documentation

template<class W>
grpc::ServerWriter< W >::ServerWriter ( Call call,
ServerContext ctx 
)
inline

Member Function Documentation

template<class W>
void grpc::ServerWriter< W >::SendInitialMetadata ( )
inline
template<class W>
bool grpc::ServerWriter< W >::Write ( const W &  msg,
const WriteOptions options 
)
inlinevirtual

Blocking write msg to the stream with options.

Parameters
msgThe message to be written to the stream.
optionsOptions affecting the write operation.
Returns
true on success, false when the stream has been closed.

Implements grpc::WriterInterface< W >.


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