diff options
author | yang-g <yangg@google.com> | 2015-08-19 16:28:09 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2015-08-19 16:28:09 -0700 |
commit | 8c2be9f22807870585111d88f5168dd11da99ce1 (patch) | |
tree | 2f7d8a372e68cb2c7ad04777e50bfbf927ededc6 /test/cpp/interop/reconnect_interop_client.cc | |
parent | 89bede02f16905eb48b71710dc4ea2542b3a5ca1 (diff) |
Remove ChannelInterface and replace it with Channel
Diffstat (limited to 'test/cpp/interop/reconnect_interop_client.cc')
-rw-r--r-- | test/cpp/interop/reconnect_interop_client.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cpp/interop/reconnect_interop_client.cc b/test/cpp/interop/reconnect_interop_client.cc index 65f098050e..675c6ff073 100644 --- a/test/cpp/interop/reconnect_interop_client.cc +++ b/test/cpp/interop/reconnect_interop_client.cc @@ -37,7 +37,7 @@ #include <grpc/grpc.h> #include <grpc/support/log.h> #include <gflags/gflags.h> -#include <grpc++/channel_interface.h> +#include <grpc++/channel.h> #include <grpc++/client_context.h> #include <grpc++/status.h> #include "test/cpp/util/create_test_channel.h" @@ -50,7 +50,7 @@ DEFINE_int32(server_control_port, 0, "Server port for control rpcs."); DEFINE_int32(server_retry_port, 0, "Server port for testing reconnection."); DEFINE_string(server_host, "127.0.0.1", "Server host to connect to"); -using grpc::ChannelInterface; +using grpc::Channel; using grpc::ClientContext; using grpc::CreateTestChannel; using grpc::Status; @@ -78,7 +78,7 @@ int main(int argc, char** argv) { gpr_log(GPR_INFO, "Starting connections with retries."); server_address.str(""); server_address << FLAGS_server_host << ':' << FLAGS_server_retry_port; - std::shared_ptr<ChannelInterface> retry_channel = + std::shared_ptr<Channel> retry_channel = CreateTestChannel(server_address.str(), true); // About 13 retries. const int kDeadlineSeconds = 540; |