Document finish

pull/2831/head
Craig Tiller 9 years ago
parent 2db17838e7
commit 8e5de39fb9
  1. 6
      include/grpc++/stream.h

@ -54,7 +54,11 @@ class ClientStreamingInterface {
// 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(). Otherwise, this implicitly cancels the stream.
// a Read().
// This function will return either:
// - when all incoming messages have been read and the server has returned
// status
// - OR when the server has returned a non-OK status
virtual Status Finish() = 0;
};

Loading…
Cancel
Save