Changeset 7468 for sample/testdht
- Timestamp:
- Jan 25, 2010, 10:50:57 AM (15 years ago)
- Location:
- sample/testdht
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sample/testdht/DHTTest.cpp
r6796 r7468 164 164 165 165 166 bool DHTTest::onLinkRequest(const NodeID& remote , const DataMessage& msg) {166 bool DHTTest::onLinkRequest(const NodeID& remote) { 167 167 logging_info( "node " << remote.toString() << " wants to build up a link with us ... allowing" ); 168 168 return true; -
sample/testdht/DHTTest.h
r6760 r7468 34 34 protected: 35 35 // communication listener interface 36 virtual bool onLinkRequest(const NodeID& remote, const DataMessage& msg = 37 DataMessage::UNSPECIFIED); 36 virtual bool onLinkRequest(const NodeID& remote); 38 37 virtual void onLinkUp(const LinkID& lnk, const NodeID& remote); 39 38 virtual void onLinkDown(const LinkID& lnk, const NodeID& remote);
Note:
See TracChangeset
for help on using the changeset viewer.