diff --git a/services/backup/docker-server/contents/server/src/Reactors/server/RecoverBackupKeyReactor.h b/services/backup/docker-server/contents/server/src/Reactors/server/RecoverBackupKeyReactor.h new file mode 100644 --- /dev/null +++ b/services/backup/docker-server/contents/server/src/Reactors/server/RecoverBackupKeyReactor.h @@ -0,0 +1,34 @@ +#pragma once + +#include "ServerBidiReactorBase.h" + +#include "../_generated/backup.grpc.pb.h" +#include "../_generated/backup.pb.h" + +#include +#include +#include + +namespace comm { +namespace network { +namespace reactor { + +class RecoverBackupKeyReactor : public ServerBidiReactorBase< + backup::RecoverBackupKeyRequest, + backup::RecoverBackupKeyResponse> { +public: + std::unique_ptr handleRequest( + backup::RecoverBackupKeyRequest request, + backup::RecoverBackupKeyResponse *response); +}; + +std::unique_ptr RecoverBackupKeyReactor::handleRequest( + backup::RecoverBackupKeyRequest request, + backup::RecoverBackupKeyResponse *response) { // TODO handle request + return std::make_unique( + grpc::StatusCode::UNIMPLEMENTED, "unimplemented"); +} + +} // namespace reactor +} // namespace network +} // namespace comm