diff options
author | Simon Rettberg | 2015-07-08 16:07:32 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-07-08 16:07:32 +0200 |
commit | 05c4a596363601e7aa2157409eda9be1ec087c57 (patch) | |
tree | f6b5c1f18d31a9016f8cadcb147ac512ffcb6c14 /src/main/thrift | |
parent | Make master server address configurable; dynamic retrying, controlled by call... (diff) | |
download | master-sync-shared-05c4a596363601e7aa2157409eda9be1ec087c57.tar.gz master-sync-shared-05c4a596363601e7aa2157409eda9be1ec087c57.tar.xz master-sync-shared-05c4a596363601e7aa2157409eda9be1ec087c57.zip |
Thrift api
Diffstat (limited to 'src/main/thrift')
-rw-r--r-- | src/main/thrift/bwlp.thrift | 6 |
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) |