Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3254295
D3517.id10644.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3517.id10644.diff
View Options
diff --git a/services/backup/docker-server/contents/server/src/Reactors/server/PullBackupReactor.h b/services/backup/docker-server/contents/server/src/Reactors/server/PullBackupReactor.h
new file mode 100644
--- /dev/null
+++ b/services/backup/docker-server/contents/server/src/Reactors/server/PullBackupReactor.h
@@ -0,0 +1,35 @@
+#pragma once
+
+#include "ServerBidiReactorBase.h"
+
+#include "../_generated/backup.grpc.pb.h"
+#include "../_generated/backup.pb.h"
+
+#include <iostream>
+#include <memory>
+#include <string>
+
+namespace comm {
+namespace network {
+namespace reactor {
+
+class PullBackupReactor : public ServerBidiReactorBase<
+ backup::PullBackupRequest,
+ backup::PullBackupResponse> {
+public:
+ std::unique_ptr<grpc::Status> handleRequest(
+ backup::PullBackupRequest request,
+ backup::PullBackupResponse *response) override;
+};
+
+std::unique_ptr<grpc::Status> PullBackupReactor::handleRequest(
+ backup::PullBackupRequest request,
+ backup::PullBackupResponse *response) {
+ // TODO handle request
+ return std::make_unique<grpc::Status>(
+ grpc::StatusCode::UNIMPLEMENTED, "unimplemented");
+}
+
+} // namespace reactor
+} // namespace network
+} // namespace comm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 7:43 PM (22 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2501722
Default Alt Text
D3517.id10644.diff (1 KB)
Attached To
Mode
D3517: [services] Backup - Add server reactor implementations - pull backup reactor
Attached
Detach File
Event Timeline
Log In to Comment