sync api needs last_observed state too

pull/2811/head
yang-g 10 years ago
parent 1ae0afccb5
commit 88d772c5b8
  1. 3
      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;
};

Loading…
Cancel
Save