aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h')
-rw-r--r--tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h b/tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h
index a3a2ac8020..412395c526 100644
--- a/tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h
+++ b/tensorflow/core/distributed_runtime/rpc/grpc_master_service_impl.h
@@ -53,7 +53,7 @@ namespace grpc {
// definition in "//tensorflow/core/protobuf/master_service.proto",
// and the gRPC generated stub and service classes.
// See that file for the definition of methods and messages.
-class MasterService GRPC_FINAL {
+class MasterService final {
public:
class StubInterface {
public:
@@ -80,40 +80,40 @@ class MasterService GRPC_FINAL {
const ResetRequest& request,
ResetResponse* response) = 0;
};
- class Stub GRPC_FINAL : public StubInterface {
+ class Stub final : public StubInterface {
public:
Stub(const std::shared_ptr< ::grpc::ChannelInterface>& channel);
::grpc::Status CreateSession(::grpc::ClientContext* context,
const CreateSessionRequest& request,
- CreateSessionResponse* response) GRPC_OVERRIDE;
+ CreateSessionResponse* response) override;
::grpc::Status ExtendSession(::grpc::ClientContext* context,
const ExtendSessionRequest& request,
- ExtendSessionResponse* response) GRPC_OVERRIDE;
+ ExtendSessionResponse* response) override;
::grpc::Status PartialRunSetup(
::grpc::ClientContext* context, const PartialRunSetupRequest& request,
- PartialRunSetupResponse* response) GRPC_OVERRIDE;
+ PartialRunSetupResponse* response) override;
::grpc::Status RunStep(::grpc::ClientContext* context,
const RunStepRequest& request,
- RunStepResponse* response) GRPC_OVERRIDE;
+ RunStepResponse* response) override;
::grpc::Status CloseSession(::grpc::ClientContext* context,
const CloseSessionRequest& request,
- CloseSessionResponse* response) GRPC_OVERRIDE;
+ CloseSessionResponse* response) override;
::grpc::Status ListDevices(::grpc::ClientContext* context,
const ListDevicesRequest& request,
- ListDevicesResponse* response) GRPC_OVERRIDE;
+ ListDevicesResponse* response) override;
::grpc::Status Reset(::grpc::ClientContext* context,
const ResetRequest& request,
- ResetResponse* response) GRPC_OVERRIDE;
+ ResetResponse* response) override;
private:
std::shared_ptr< ::grpc::ChannelInterface> channel_;
- const ::grpc::RpcMethod rpcmethod_CreateSession_;
- const ::grpc::RpcMethod rpcmethod_ExtendSession_;
- const ::grpc::RpcMethod rpcmethod_PartialRunSetup_;
- const ::grpc::RpcMethod rpcmethod_RunStep_;
- const ::grpc::RpcMethod rpcmethod_CloseSession_;
- const ::grpc::RpcMethod rpcmethod_ListDevices_;
- const ::grpc::RpcMethod rpcmethod_Reset_;
+ const ::grpc::internal::RpcMethod rpcmethod_CreateSession_;
+ const ::grpc::internal::RpcMethod rpcmethod_ExtendSession_;
+ const ::grpc::internal::RpcMethod rpcmethod_PartialRunSetup_;
+ const ::grpc::internal::RpcMethod rpcmethod_RunStep_;
+ const ::grpc::internal::RpcMethod rpcmethod_CloseSession_;
+ const ::grpc::internal::RpcMethod rpcmethod_ListDevices_;
+ const ::grpc::internal::RpcMethod rpcmethod_Reset_;
};
static std::unique_ptr<Stub> NewStub(
const std::shared_ptr< ::grpc::ChannelInterface>& channel,