Interface DHT

This service type implements a distributed hash table for storing arbitrary data across several nodes of a peer-to-peer network.

XML Namespace

urn:icsy:venice:wsdl:data

XSD Data Types

basic:  http://www.v-grid.info/types/basic.xsd

domain:  http://www.v-grid.info/types/domain.xsd

faults:  http://www.v-grid.info/types/faults.xsd

Operations

 xsd:boolean put (domain:SSOInformation sso, basic:String key, basic:String value, basic:String secret) throws faults:AuthorizationFault
Puts a value into the DHT. The value will remain in the DHT until it is actively removed. If another value with the same key is put into the DHT, it will be overwritten.

 xsd:boolean remove (domain:SSOInformation sso, basic:String key, basic:String secret) throws faults:AuthorizationFault
Removes a value from the DHT. The secret must be the same that has been used for putting the value.

 basic:String get (domain:SSOInformation sso, basic:String key) throws faults:AuthorizationFault
Gets a value from the DHT.

 xsd:boolean putN (domain:SSOInformation sso, basic:String key, basic:String value, basic:String secret) throws faults:AuthorizationFault
Puts a value into the joint space of the DHT. The value will remain in the DHT until is is actively removed. If another value with the same key is put into the DHT, it will be appended.

 xsd:boolean removeN (domain:SSOInformation sso, basic:String key, basic:String value, basic:String secret) throws faults:AuthorizationFault
Removes a key/value pair from the joint space of the DHT. The secret must be the same that has been used for putting the value.

 xsd:boolean removeN_all (domain:SSOInformation sso, basic:String key, basic:String secret) throws faults:AuthorizationFault
Removes all values for a key from the joint space of the DHT where the secret is matching. The secret must be the same that has been used for putting the value.

 basic:StringArray getN (domain:SSOInformation sso, basic:String key) throws faults:AuthorizationFault
Gets a value from the joint space of the DHT.

Generated by the Venice Service Compiler on Thu May 10 14:13:00 CEST 2012