diff options
author | Simon Rettberg | 2015-09-08 17:38:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-09-08 17:38:42 +0200 |
commit | 0c8af49dd442f3a0b9a76b3496a6a91df7edc2df (patch) | |
tree | fd39005ba41accf1b52e768e31049bbe9fd69b3a /src/main/thrift/bwlp.thrift | |
parent | Add Json.java (diff) | |
download | master-sync-shared-0c8af49dd442f3a0b9a76b3496a6a91df7edc2df.tar.gz master-sync-shared-0c8af49dd442f3a0b9a76b3496a6a91df7edc2df.tar.xz master-sync-shared-0c8af49dd442f3a0b9a76b3496a6a91df7edc2df.zip |
master server rpc
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r-- | src/main/thrift/bwlp.thrift | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index 4c56d7b..26d3870 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -587,11 +587,11 @@ service MasterServer { bool isServerAuthenticated(1:Token serverSessionId), // Start authentication of server for given organization - binary startServerAuthentication(1:string organizationId) + binary startServerAuthentication(1:i32 satelliteId) throws (1: TAuthorizationException failure, 2:TInvocationException error), // Reply to master server authentication challenge - ServerSessionData serverAuthenticate(1:string organizationId, 2:binary challengeResponse) + ServerSessionData serverAuthenticate(1:i32 satelliteId, 2:binary challengeResponse) throws (1:TAuthorizationException failure, 2:TInvocationException errr), // Get image information (prior to download) @@ -602,10 +602,10 @@ service MasterServer { TransferInformation submitImage(1:Token serverSessionId, 2:ImagePublishData imageDescription, 3:list<binary> blockHashes) throws (1:TAuthorizationException failure, 2: TInvocationException failure2, 3: TTransferRejectedException failure3), - bool registerSatellite(1:string organizationId, 2:string address, 3:string modulus, 4:string exponent) + i32 registerSatellite(6:Token userToken, 5:string displayName, 2:list<string> addresses, 3:string modulus, 4:string exponent, 1:binary certsha256) throws (1:TInvocationException error), - bool updateSatelliteAddress(1:Token serverSessionId, 2:string address) + bool updateSatellite(1:Token serverSessionId, 2:string displayName, 3:list<string> addresses) throws (1:TAuthorizationException failure, 2:TInvocationException error), /* |