Public Member Functions | Private Attributes | List of all members
grpc::internal::ServerReaderWriterBody< W, R > Class Template Reference

#include <completion_queue.h>

Public Member Functions

bool NextMessageSize (uint32_t *sz)
 
bool Read (R *msg)
 
void SendInitialMetadata ()
 
 ServerReaderWriterBody (grpc::internal::Call *call, grpc::ServerContext *ctx)
 
bool Write (const W &msg, grpc::WriteOptions options)
 

Private Attributes

grpc::internal::Call *const call_
 
grpc::ServerContext *const ctx_
 

Detailed Description

template<class W, class R>
class grpc::internal::ServerReaderWriterBody< W, R >

Definition at line 63 of file include/grpcpp/impl/codegen/completion_queue.h.

Constructor & Destructor Documentation

◆ ServerReaderWriterBody()

template<class W , class R >
grpc::internal::ServerReaderWriterBody< W, R >::ServerReaderWriterBody ( grpc::internal::Call call,
grpc::ServerContext ctx 
)
inline

Definition at line 713 of file grpcpp/impl/codegen/sync_stream.h.

Member Function Documentation

◆ NextMessageSize()

template<class W , class R >
bool grpc::internal::ServerReaderWriterBody< W, R >::NextMessageSize ( uint32_t sz)
inline

Definition at line 730 of file grpcpp/impl/codegen/sync_stream.h.

◆ Read()

template<class W , class R >
bool grpc::internal::ServerReaderWriterBody< W, R >::Read ( R *  msg)
inline

Definition at line 736 of file grpcpp/impl/codegen/sync_stream.h.

◆ SendInitialMetadata()

template<class W , class R >
void grpc::internal::ServerReaderWriterBody< W, R >::SendInitialMetadata ( )
inline

Definition at line 716 of file grpcpp/impl/codegen/sync_stream.h.

◆ Write()

template<class W , class R >
bool grpc::internal::ServerReaderWriterBody< W, R >::Write ( const W msg,
grpc::WriteOptions  options 
)
inline

Definition at line 747 of file grpcpp/impl/codegen/sync_stream.h.

Member Data Documentation

◆ call_

template<class W , class R >
grpc::internal::Call* const grpc::internal::ServerReaderWriterBody< W, R >::call_
private

Definition at line 775 of file grpcpp/impl/codegen/sync_stream.h.

◆ ctx_

template<class W , class R >
grpc::ServerContext* const grpc::internal::ServerReaderWriterBody< W, R >::ctx_
private

Definition at line 776 of file grpcpp/impl/codegen/sync_stream.h.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:33