summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
authorSimon Rettberg2015-07-08 16:07:32 +0200
committerSimon Rettberg2015-07-08 16:07:32 +0200
commit05c4a596363601e7aa2157409eda9be1ec087c57 (patch)
treef6b5c1f18d31a9016f8cadcb147ac512ffcb6c14 /src/main/thrift/bwlp.thrift
parentMake master server address configurable; dynamic retrying, controlled by call... (diff)
downloadmaster-sync-shared-05c4a596363601e7aa2157409eda9be1ec087c57.tar.gz
master-sync-shared-05c4a596363601e7aa2157409eda9be1ec087c57.tar.xz
master-sync-shared-05c4a596363601e7aa2157409eda9be1ec087c57.zip
Thrift api
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 76a0630..0f4217a 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -282,8 +282,8 @@ struct TransferInformation {
}
// Used to tell status of an upload. The blockStatus is one byte per 16MB block,
-// 0 = complete, 1 = missing, 2 = uploading, 3 = queued for copying, 4 = copying
-struct UploadStatus {
+// 0 = complete, 1 = missing, 2 = uploading, 3 = queued for copying, 4 = copying
+struct TransferStatus {
1: binary blockStatus,
}
@@ -330,7 +330,7 @@ service SatelliteServer {
TransferInformation requestImageVersionUpload(1: Token userToken, 2: UUID imageBaseId, 3: i64 fileSize, 4: list<binary> blockHashes)
throws (1:TTransferRejectedException rejection, 2:TAuthorizationException authError),
void cancelUpload(1: Token uploadToken),
- UploadStatus queryUploadStatus(1: Token uploadToken)
+ TransferStatus queryUploadStatus(1: Token uploadToken)
throws (1:TInvalidTokenException ex1),
TransferInformation requestDownload(1: Token userToken, 2: UUID imageVersionId)