Changeset 10653 for source/ariba/Node.h


Ignore:
Timestamp:
Jul 25, 2012, 11:41:36 AM (12 years ago)
Author:
Michael Tänzer
Message:

Merge the ASIO branch back into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/Node.h

    r9684 r10653  
    242242
    243243        /**
     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        /**
    244251         * Sends a message via an established link. If reliable transport was
    245252         * selected, the method returns a sequence number and a communication event
     
    281288         */
    282289        bool unbind(CommunicationListener* listener, const ServiceID& sid);
    283 
    284         /**
    285          * Adds a key value pair to the DHT
    286          *
    287          * @param key The key data
    288          * @param value The value data
    289          * @param ttl The time to live in seconds
    290          */
    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 when
    295          * values arrive.
    296          *
    297          * @param key The key data
    298          * @param sid The service that is requesting the values
    299          */
    300         void get( const Data& key, const ServiceID& sid );
    301 
    302290
    303291        //-------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.