GRPC C++
0.11.0.0
|
Common interface for all synchronous client side streaming. More...
#include <sync_stream.h>
Public Member Functions | |
virtual | ~ClientStreamingInterface () |
virtual Status | Finish ()=0 |
Wait until the stream finishes, and return the final status. More... | |
Common interface for all synchronous client side streaming.
|
inlinevirtual |
|
pure virtual |
Wait until the stream finishes, and return the final status.
When the client side declares it has no more message to send, either implicitly or by calling WritesDone(), it needs to make sure there is no more message to be received from the server, either implicitly or by getting a false from a Read().
This function will return either:
Implemented in grpc::ClientReaderWriter< R, W >, grpc::ClientWriter< W >, and grpc::ClientReader< R >.