Public Member Functions | List of all members
grpc::internal::ClientStreamingInterface Class Referenceabstract

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

#include <sync_stream.h>

Inheritance diagram for grpc::internal::ClientStreamingInterface:
Inheritance graph
[legend]

Public Member Functions

virtual grpc::Status Finish ()=0
 
virtual ~ClientStreamingInterface ()
 

Detailed Description

Common interface for all synchronous client side streaming.

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

Constructor & Destructor Documentation

◆ ~ClientStreamingInterface()

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

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

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:


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