template <class W, class R>
class ClientAsyncReaderWriter
Defined at line 526 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
Async client-side interface for bi-directional streaming,
where the outgoing message stream going to the server
has messages of type
and the incoming message stream coming
from the server has messages of type
Public Methods
void operator delete (void * , std::size_t size)
always allocated against a call arena, no memory free required
Defined at line 530 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void operator delete (void * , void * )
This operator should never be called as the memory should be freed as part
of the arena destruction. It only exists to provide a matching operator
delete to the operator new so that some compilers will not complain (see
https://github.com/grpc/grpc/issues/11301) Note at the time of adding this
there are no tests catching the compiler warning.
Defined at line 539 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void StartCall (void * tag)
Defined at line 541 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void ReadInitialMetadata (void * tag)
See the
method
for semantics of this method.
Side effect:
- upon receiving initial metadata from the server, the
is updated with it, and then the receiving initial metadata can
be accessed through this
Defined at line 554 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void Read (R * msg, void * tag)
Defined at line 563 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void Write (const W & msg, void * tag)
Defined at line 573 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void Write (const W &msg,grpc::WriteOptionsoptions,void *tag)
Defined at line 581 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void WritesDone (void * tag)
Defined at line 595 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h
void Finish (grpc::Status * status, void * tag)
See the
method for semantics.
Side effect
- the
associated with this call is updated with
possible initial and trailing metadata sent from the server.
Defined at line 606 of file ../../third_party/grpc/src/include/grpcpp/support/async_stream.h