From 88d772c5b8e177afd571b7c68467fa428951f2d8 Mon Sep 17 00:00:00 2001 From: yang-g Date: Wed, 5 Aug 2015 13:23:38 -0700 Subject: sync api needs last_observed state too --- include/grpc++/channel_interface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') 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 - 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; }; -- cgit v1.2.3