~ubuntu-branches/ubuntu/oneiric/libktorrent/oneiric

« back to all changes in this revision

Viewing changes to src/dht/node.h

  • Committer: Bazaar Package Importer
  • Author(s): Modestas Vainius
  • Date: 2011-05-26 00:33:38 UTC
  • mfrom: (5.1.7 experimental)
  • Revision ID: james.westby@ubuntu.com-20110526003338-2r4zwyzn8bovsxay
Tags: 1.1.1-2
Release to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
                 * @param msg The message
57
57
                 * @param srv The RPCServer to send a ping if necessary
58
58
                 */
59
 
                void received(DHT* dh_table,const MsgBase* msg);
 
59
                void received(DHT* dh_table,MsgBase::Ptr msg);
60
60
                
61
61
                /// Get our own ID
62
62
                const dht::Key & getOurID() const {return our_id;}
71
71
                /**
72
72
                 * Increase the failed queries count of the bucket entry we sent the message to
73
73
                */
74
 
                void onTimeout(const MsgBase* msg);
 
74
                void onTimeout(MsgBase::Ptr msg);
75
75
                
76
76
                /// Check if a buckets needs to be refreshed, and refresh if necesarry
77
77
                void refreshBuckets(DHT* dh_table);