diff options
Diffstat (limited to 'tensorflow/contrib/verbs/grpc_verbs_service_impl.cc')
-rw-r--r-- | tensorflow/contrib/verbs/grpc_verbs_service_impl.cc | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tensorflow/contrib/verbs/grpc_verbs_service_impl.cc b/tensorflow/contrib/verbs/grpc_verbs_service_impl.cc index e0ba78dbfd..a1fbea57dd 100644 --- a/tensorflow/contrib/verbs/grpc_verbs_service_impl.cc +++ b/tensorflow/contrib/verbs/grpc_verbs_service_impl.cc @@ -43,20 +43,22 @@ VerbsService::Stub::Stub( const std::shared_ptr< ::grpc::ChannelInterface>& channel) : channel_(channel), rpcmethod_GetRemoteAddress_(grpcVerbsService_method_names[0], - ::grpc::RpcMethod::NORMAL_RPC, channel) {} + ::grpc::internal::RpcMethod::NORMAL_RPC, + channel) {} ::grpc::Status VerbsService::Stub::GetRemoteAddress( ::grpc::ClientContext* context, const GetRemoteAddressRequest& request, GetRemoteAddressResponse* response) { - return ::grpc::BlockingUnaryCall(channel_.get(), rpcmethod_GetRemoteAddress_, - context, request, response); + return ::grpc::internal::BlockingUnaryCall( + channel_.get(), rpcmethod_GetRemoteAddress_, context, request, response); } VerbsService::AsyncService::AsyncService() { for (int i = 0; i < 1; ++i) { - AddMethod(new ::grpc::RpcServiceMethod(grpcVerbsService_method_names[i], - ::grpc::RpcMethod::NORMAL_RPC, - nullptr)); + AddMethod(new ::grpc::internal::RpcServiceMethod( + grpcVerbsService_method_names[i], + ::grpc::internal::RpcMethod::NORMAL_RPC, + nullptr)); ::grpc::Service::MarkMethodAsync(i); } } |