diff --git a/services/backup/docker-server/contents/server/src/BackupServiceImpl.cpp b/services/backup/docker-server/contents/server/src/BackupServiceImpl.cpp index 7272afbd9..fa359a4b4 100644 --- a/services/backup/docker-server/contents/server/src/BackupServiceImpl.cpp +++ b/services/backup/docker-server/contents/server/src/BackupServiceImpl.cpp @@ -1,47 +1,47 @@ #include "BackupServiceImpl.h" #include namespace comm { namespace network { BackupServiceImpl::BackupServiceImpl() { Aws::InitAPI({}); } BackupServiceImpl::~BackupServiceImpl() { Aws::ShutdownAPI({}); } - +/* grpc::Status BackupServiceImpl::CreateNewBackup( grpc::ServerContext *context, grpc::ServerReader *reader, google::protobuf::Empty *response) { return grpc::Status(grpc::StatusCode::UNIMPLEMENTED, "not implemented yet"); } grpc::Status BackupServiceImpl::SendLog( grpc::ServerContext *context, grpc::ServerReader *reader, google::protobuf::Empty *response) { return grpc::Status(grpc::StatusCode::UNIMPLEMENTED, "not implemented yet"); } grpc::Status BackupServiceImpl::PullBackupKey( grpc::ServerContext *context, grpc::ServerReaderWriter< backup::PullBackupKeyResponse, backup::PullBackupKeyRequest> *stream) { return grpc::Status(grpc::StatusCode::UNIMPLEMENTED, "not implemented yet"); } grpc::Status BackupServiceImpl::PullCompaction( grpc::ServerContext *context, grpc::ServerReaderWriter< backup::PullCompactionResponse, backup::PullCompactionRequest> *stream) { return grpc::Status(grpc::StatusCode::UNIMPLEMENTED, "not implemented yet"); } - +*/ } // namespace network } // namespace comm diff --git a/services/backup/docker-server/contents/server/src/BackupServiceImpl.h b/services/backup/docker-server/contents/server/src/BackupServiceImpl.h index 2d8dc0095..ced18abbb 100644 --- a/services/backup/docker-server/contents/server/src/BackupServiceImpl.h +++ b/services/backup/docker-server/contents/server/src/BackupServiceImpl.h @@ -1,38 +1,39 @@ #pragma once #include "../_generated/backup.grpc.pb.h" #include "../_generated/backup.pb.h" #include namespace comm { namespace network { class BackupServiceImpl final : public backup::BackupService::Service { public: BackupServiceImpl(); virtual ~BackupServiceImpl(); - - grpc::Status CreateNewBackup( - grpc::ServerContext *context, - grpc::ServerReader *reader, - google::protobuf::Empty *response) override; - grpc::Status SendLog( - grpc::ServerContext *context, - grpc::ServerReader *reader, - google::protobuf::Empty *response) override; - grpc::Status PullBackupKey( - grpc::ServerContext *context, - grpc::ServerReaderWriter< - backup::PullBackupKeyResponse, - backup::PullBackupKeyRequest> *stream) override; - grpc::Status PullCompaction( - grpc::ServerContext *context, - grpc::ServerReaderWriter< - backup::PullCompactionResponse, - backup::PullCompactionRequest> *stream) override; + /* + grpc::Status CreateNewBackup( + grpc::ServerContext *context, + grpc::ServerReader *reader, + google::protobuf::Empty *response) override; + grpc::Status SendLog( + grpc::ServerContext *context, + grpc::ServerReader *reader, + google::protobuf::Empty *response) override; + grpc::Status PullBackupKey( + grpc::ServerContext *context, + grpc::ServerReaderWriter< + backup::PullBackupKeyResponse, + backup::PullBackupKeyRequest> *stream) override; + grpc::Status PullCompaction( + grpc::ServerContext *context, + grpc::ServerReaderWriter< + backup::PullCompactionResponse, + backup::PullCompactionRequest> *stream) override; + */ }; } // namespace network } // namespace comm