Changeset 6836 for source/ariba
- Timestamp:
- Nov 5, 2009, 10:20:33 AM (15 years ago)
- Location:
- source/ariba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/Node.cpp
r6833 r6836 177 177 // service directory 178 178 179 void Node::put( const Data& key, const Data& value, uint16_t ttl ) {180 base_overlay->dhtPut(key,value,ttl );179 void Node::put( const Data& key, const Data& value, uint16_t ttl, bool replace ) { 180 base_overlay->dhtPut(key,value,ttl,replace); 181 181 } 182 182 -
source/ariba/Node.h
r6266 r6836 289 289 * @param ttl The time to live in seconds 290 290 */ 291 void put( const Data& key, const Data& value, uint16_t ttl 291 void put( const Data& key, const Data& value, uint16_t ttl, bool replace = false); 292 292 293 293 /**
Note:
See TracChangeset
for help on using the changeset viewer.