Merge pull request #20567 from yashykt/docupdate

Stronger guarantee on failure of read/write operations
pull/21290/head
Yash Tibrewal 5 years ago committed by GitHub
commit b4d6916552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      include/grpcpp/impl/codegen/client_callback_impl.h

@ -285,18 +285,18 @@ class ClientBidiReactor {
/// call of OnReadDone or OnDone.
///
/// \param[in] ok Was the initial metadata read successfully? If false, no
/// further read-side operation will succeed.
/// new read/write operation will succeed.
virtual void OnReadInitialMetadataDone(bool /*ok*/) {}
/// Notifies the application that a StartRead operation completed.
///
/// \param[in] ok Was it successful? If false, no further read-side operation
/// \param[in] ok Was it successful? If false, no new read/write operation
/// will succeed.
virtual void OnReadDone(bool /*ok*/) {}
/// Notifies the application that a StartWrite operation completed.
///
/// \param[in] ok Was it successful? If false, no further write-side operation
/// \param[in] ok Was it successful? If false, no new read/write operation
/// will succeed.
virtual void OnWriteDone(bool /*ok*/) {}

Loading…
Cancel
Save