Changeset 7468 for sample/testdht


Ignore:
Timestamp:
Jan 25, 2010, 10:50:57 AM (14 years ago)
Author:
Christoph Mayer
Message:

-timer delete fix (noch auskommentiert), -interface cleanup

Location:
sample/testdht
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sample/testdht/DHTTest.cpp

    r6796 r7468  
    164164
    165165
    166 bool DHTTest::onLinkRequest(const NodeID& remote, const DataMessage& msg) {
     166bool DHTTest::onLinkRequest(const NodeID& remote) {
    167167        logging_info( "node " << remote.toString() << " wants to build up a link with us ... allowing" );
    168168        return true;
  • sample/testdht/DHTTest.h

    r6760 r7468  
    3434protected:
    3535        // communication listener interface
    36         virtual bool onLinkRequest(const NodeID& remote, const DataMessage& msg =
    37                         DataMessage::UNSPECIFIED);
     36        virtual bool onLinkRequest(const NodeID& remote);
    3837        virtual void onLinkUp(const LinkID& lnk, const NodeID& remote);
    3938        virtual void onLinkDown(const LinkID& lnk, const NodeID& remote);
Note: See TracChangeset for help on using the changeset viewer.