D:/opendownloadmanager/ODM-1.x/Bittorrent/libtorrent-0.12/src/kademlia/node.cpp File Reference

#include <utility>
#include <boost/bind.hpp>
#include <boost/optional.hpp>
#include <boost/function.hpp>
#include <boost/iterator_adaptors.hpp>
#include "libtorrent/io.hpp"
#include "libtorrent/hasher.hpp"
#include "libtorrent/random_sample.hpp"
#include "libtorrent/kademlia/node_id.hpp"
#include "libtorrent/kademlia/rpc_manager.hpp"
#include "libtorrent/kademlia/packet_iterator.hpp"
#include "libtorrent/kademlia/routing_table.hpp"
#include "libtorrent/kademlia/node.hpp"
#include "libtorrent/kademlia/refresh.hpp"
#include "libtorrent/kademlia/closest_nodes.hpp"
#include "libtorrent/kademlia/find_data.hpp"

Go to the source code of this file.

Namespaces

namespace  libtorrent
namespace  libtorrent::dht

Enumerations

enum  { libtorrent::dht::announce_interval = 30 }

Functions

node_id libtorrent::dht::generate_id ()
void libtorrent::dht::purge_peers (std::set< peer_entry > &peers)
void libtorrent::dht::nop ()
void libtorrent::dht::announce_fun (std::vector< node_entry > const &v, rpc_manager &rpc, int listen_port, sha1_hash const &ih, boost::function< void(std::vector< tcp::endpoint > const &, sha1_hash const &)> f)
tcp::endpoint libtorrent::dht::get_endpoint (peer_entry const &p)


Variable Documentation

boost::function<void(std::vector<tcp::endpoint> const&, sha1_hash const&)> m_fun

Definition at line 294 of file node.cpp.

sha1_hash m_info_hash

Definition at line 258 of file node.cpp.

rpc_manager& m_rpc

Definition at line 293 of file node.cpp.

entry m_token

Definition at line 259 of file node.cpp.


Generated on Sun May 25 00:19:42 2008 by  doxygen 1.5.6