Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3562816
D4090.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
D4090.diff
View Options
diff --git a/services/backup/src/BackupServiceImpl.h b/services/backup/src/BackupServiceImpl.h
--- a/services/backup/src/BackupServiceImpl.h
+++ b/services/backup/src/BackupServiceImpl.h
@@ -31,6 +31,10 @@
grpc::ServerWriteReactor<backup::PullBackupResponse> *PullBackup(
grpc::CallbackServerContext *context,
const backup::PullBackupRequest *request) override;
+
+ grpc::ServerReadReactor<backup::AddAttachmentRequest> *AddAttachment(
+ grpc::CallbackServerContext *context,
+ google::protobuf::Empty *response) override;
};
} // namespace network
diff --git a/services/backup/src/BackupServiceImpl.cpp b/services/backup/src/BackupServiceImpl.cpp
--- a/services/backup/src/BackupServiceImpl.cpp
+++ b/services/backup/src/BackupServiceImpl.cpp
@@ -1,5 +1,6 @@
#include "BackupServiceImpl.h"
+#include "AddAttachmentReactor.h"
#include "CreateNewBackupReactor.h"
#include "PullBackupReactor.h"
#include "RecoverBackupKeyReactor.h"
@@ -47,5 +48,12 @@
return reactor;
}
+grpc::ServerReadReactor<backup::AddAttachmentRequest> *
+BackupServiceImpl::AddAttachment(
+ grpc::CallbackServerContext *context,
+ google::protobuf::Empty *response) {
+ return new reactor::AddAttachmentReactor(response);
+}
+
} // namespace network
} // namespace comm
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Dec 28, 11:02 AM (7 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2725984
Default Alt Text
D4090.diff (1 KB)
Attached To
Mode
D4090: [services] Backup - Use Add Attachment Reactor
Attached
Detach File
Event Timeline
Log In to Comment