class ClientStreamingInterface

Defined at line 37 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/sync_stream.h

Common interface for all synchronous client side streaming.

Public Methods

grpc::Status Finish ()

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:

* the calling code (client-side) has no more message to send

(this can be declared implicitly by calling this method, or

explicitly through an earlier call to

WritesDone

method of the

class in use, e.g.

or

* there are no more messages to be received from the server (which can

be known implicitly, or explicitly from an earlier call to

that returned "false").

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:

-

contains the status code, message and details for the call

- the

associated with this call is updated with

possible trailing metadata sent from the server.

void ~ClientStreamingInterface ()

Defined at line 39 of file ../../third_party/grpc-migrating/src/include/grpcpp/support/sync_stream.h