diff options
author | Sree Kuchibhotla <sreecha@users.noreply.github.com> | 2016-03-04 14:32:50 -0500 |
---|---|---|
committer | Sree Kuchibhotla <sreecha@users.noreply.github.com> | 2016-03-04 14:32:50 -0500 |
commit | edd96e4926373644bac1c169431c213d361bed21 (patch) | |
tree | f471b62ef9ad25f06cb83b8f49b522c96a30ec27 /include/grpc++/impl/codegen/server_context.h | |
parent | 22e53cbac6e9c153b935a681811593b8e8e65857 (diff) |
Revert "Properly integrate async API with server-side cancellations."
Diffstat (limited to 'include/grpc++/impl/codegen/server_context.h')
-rw-r--r-- | include/grpc++/impl/codegen/server_context.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/grpc++/impl/codegen/server_context.h b/include/grpc++/impl/codegen/server_context.h index 91ebe574b1..ad08b8210d 100644 --- a/include/grpc++/impl/codegen/server_context.h +++ b/include/grpc++/impl/codegen/server_context.h @@ -103,9 +103,6 @@ class ServerContext { void AddInitialMetadata(const grpc::string& key, const grpc::string& value); void AddTrailingMetadata(const grpc::string& key, const grpc::string& value); - // IsCancelled is always safe to call when using sync API - // When using async API, it is only safe to call IsCancelled after - // the AsyncNotifyWhenDone tag has been delivered bool IsCancelled() const; // Cancel the Call from the server. This is a best-effort API and depending on |