GRPC C++  1.62.0
Public Member Functions
grpc::internal::ClientStreamingInterface Class Referenceabstract

Common interface for all synchronous client side streaming. More...

#include <sync_stream.h>

Public Member Functions

virtual ~ClientStreamingInterface ()
 
virtual grpc::Status Finish ()=0
 Block waiting until the stream finishes and a final status of the call is available. More...
 

Detailed Description

Common interface for all synchronous client side streaming.

Constructor & Destructor Documentation

◆ ~ClientStreamingInterface()

virtual grpc::internal::ClientStreamingInterface::~ClientStreamingInterface ( )
inlinevirtual

Member Function Documentation

◆ Finish()

virtual grpc::Status grpc::internal::ClientStreamingInterface::Finish ( )
pure virtual

Block waiting until the stream finishes and a final status of the call is available.

It is appropriate to call this method exactly once when both:

This function will return either:

  • when all incoming messages have been read and the server has returned status.
  • when the server has returned a non-OK status.
  • OR when the call failed for some reason and the library generated a status.

Return values:

  • Status contains the status code, message and details for the call
  • the ClientContext associated with this call is updated with possible trailing metadata sent from the server.

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