summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 076da49..34b6461 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -54,6 +54,13 @@ enum Role {
TUTOR
}
+enum TransferState {
+ IDLE,
+ WORKING,
+ FINISHED,
+ ERROR
+}
+
// ############## STRUCT ###############
struct UserInfo {
@@ -283,6 +290,7 @@ struct TransferInformation {
// 0 = complete, 1 = missing, 2 = uploading, 3 = queued for copying, 4 = copying
struct TransferStatus {
1: binary blockStatus,
+ 2: TransferState state,
}
// ############ EXCEPTION ######################