Changeset 10653 for source/ariba/Node.h
- Timestamp:
- Jul 25, 2012, 11:41:36 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/Node.h
r9684 r10653 242 242 243 243 /** 244 * like the above function, but sends the message to the closest directly known node 245 * to the specified address 246 */ 247 NodeID sendMessageCloserToNodeID(const DataMessage& msg, const NodeID& nid, const ServiceID& sid, 248 const LinkProperties& req = LinkProperties::DEFAULT); 249 250 /** 244 251 * Sends a message via an established link. If reliable transport was 245 252 * selected, the method returns a sequence number and a communication event … … 281 288 */ 282 289 bool unbind(CommunicationListener* listener, const ServiceID& sid); 283 284 /**285 * Adds a key value pair to the DHT286 *287 * @param key The key data288 * @param value The value data289 * @param ttl The time to live in seconds290 */291 void put( const Data& key, const Data& value, uint16_t ttl, bool replace = false);292 293 /**294 * Queries for values stored in the DHT. Fires an communication event when295 * values arrive.296 *297 * @param key The key data298 * @param sid The service that is requesting the values299 */300 void get( const Data& key, const ServiceID& sid );301 302 290 303 291 //-------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.