Changeset 6836


Ignore:
Timestamp:
Nov 5, 2009, 10:20:33 AM (15 years ago)
Author:
mies
Message:
 
Location:
source/ariba
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.cpp

    r6833 r6836  
    177177// service directory
    178178
    179 void Node::put( const Data& key, const Data& value, uint16_t ttl ) {
    180         base_overlay->dhtPut(key,value,ttl);
     179void Node::put( const Data& key, const Data& value, uint16_t ttl, bool replace ) {
     180        base_overlay->dhtPut(key,value,ttl,replace);
    181181}
    182182
  • source/ariba/Node.h

    r6266 r6836  
    289289         * @param ttl The time to live in seconds
    290290         */
    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);
    292292
    293293        /**
Note: See TracChangeset for help on using the changeset viewer.