diff options
author | yang-g <yangg@google.com> | 2015-08-05 13:23:38 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-08-05 13:23:38 -0700 |
commit | 88d772c5b8e177afd571b7c68467fa428951f2d8 (patch) | |
tree | b5eaea89278260e24e133a557aa8721f4605a411 /include | |
parent | 1ae0afccb58e494ad8574527894fd35a3c5c9324 (diff) |
sync api needs last_observed state too
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc++/channel_interface.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpc++/channel_interface.h b/include/grpc++/channel_interface.h index 740d4c0180..0ca94dd484 100644 --- a/include/grpc++/channel_interface.h +++ b/include/grpc++/channel_interface.h @@ -67,7 +67,8 @@ class ChannelInterface : public CallHook, const T& deadline, CompletionQueue* cq, void* tag) = 0; template <typename T> - virtual bool WaitForStateChange(grpc_connectivity_state* new_state, + virtual bool WaitForStateChange(grpc_connectivity_state last_observed, + grpc_connectivity_state* new_state, const T& deadline) = 0; }; |