libtorrent::torrent Class Reference

#include <torrent.hpp>

Inheritance diagram for libtorrent::torrent:

libtorrent::request_callback

List of all members.

Public Types

typedef std::map
< tcp::endpoint,
peer_connection * >::iterator 
peer_iterator
typedef std::map
< tcp::endpoint,
peer_connection * >
::const_iterator 
const_peer_iterator

Public Member Functions

 torrent (aux::session_impl &ses, aux::checker_impl &checker, torrent_info const &tf, boost::filesystem::path const &save_path, tcp::endpoint const &net_interface, bool compact_mode, int block_size, session_settings const &s)
 torrent (aux::session_impl &ses, aux::checker_impl &checker, char const *tracker_url, sha1_hash const &info_hash, char const *name, boost::filesystem::path const &save_path, tcp::endpoint const &net_interface, bool compact_mode, int block_size, session_settings const &s)
 ~torrent ()
void add_extension (boost::shared_ptr< torrent_plugin >)
void init ()
void abort ()
bool is_aborted () const
bool is_allocating () const
session_settings const & settings () const
aux::session_implsession ()
void set_sequenced_download_threshold (int threshold)
void second_tick (stat &accumulator, float tick_interval)
void print (std::ostream &os) const
std::string name () const
bool check_fastresume (aux::piece_checker_data &)
std::pair< bool, float > check_files ()
void files_checked (std::vector< piece_picker::downloading_piece > const &unfinished_pieces)
stat statistics () const
size_type bytes_left () const
boost::tuples::tuple
< size_type, size_type
bytes_done () const
size_type quantized_bytes_done () const
void pause ()
void resume ()
bool is_paused () const
void filter_piece (int index, bool filter)
void filter_pieces (std::vector< bool > const &bitmask)
bool is_piece_filtered (int index) const
void filtered_pieces (std::vector< bool > &bitmask) const
void filter_files (std::vector< bool > const &files)
torrent_status status () const
void file_progress (std::vector< float > &fp) const
void use_interface (const char *net_interface)
tcp::endpoint const & get_interface () const
void connect_to_url_seed (std::string const &url)
peer_connectionconnect_to_peer (tcp::endpoint const &a)
void set_ratio (float ratio)
float ratio () const
void resolve_countries (bool r)
bool resolving_countries () const
void request_bandwidth (int channel, boost::intrusive_ptr< peer_connection > p, bool non_prioritized)
void expire_bandwidth (int channel, int amount)
void assign_bandwidth (int channel, int amount)
int bandwidth_throttle (int channel) const
void add_url_seed (std::string const &url)
void remove_url_seed (std::string const &url)
void attach_peer (peer_connection *p)
void remove_peer (peer_connection *p)
peer_connectionconnection_for (tcp::endpoint const &a)
int num_peers () const
int num_seeds () const
const_peer_iterator begin () const
const_peer_iterator end () const
peer_iterator begin ()
peer_iterator end ()
void resolve_peer_country (boost::intrusive_ptr< peer_connection > const &p) const
virtual void tracker_response (tracker_request const &r, std::vector< peer_entry > &e, int interval, int complete, int incomplete)
virtual void tracker_request_timed_out (tracker_request const &r)
virtual void tracker_request_error (tracker_request const &r, int response_code, const std::string &str)
virtual void tracker_warning (std::string const &msg)
tracker_request generate_tracker_request ()
std::string tracker_login () const
boost::posix_time::ptime next_announce () const
bool should_request ()
void force_tracker_request ()
void force_tracker_request (boost::posix_time::ptime)
void set_tracker_login (std::string const &name, std::string const &pw)
const tcp::endpointcurrent_tracker () const
bool have_piece (int index) const
const std::vector< bool > & pieces () const
int num_pieces () const
void peer_has (int index)
void peer_lost (int index)
int block_size () const
void announce_piece (int index)
void disconnect_all ()
void completed ()
void on_peer_name_lookup (asio::error_code const &e, tcp::resolver::iterator i, peer_id pid)
void on_name_lookup (asio::error_code const &e, tcp::resolver::iterator i, std::string url, tcp::endpoint proxy)
void on_proxy_name_lookup (asio::error_code const &e, tcp::resolver::iterator i, std::string url)
void finished ()
bool verify_piece (int piece_index)
void piece_failed (int index)
void received_redundant_data (int num_bytes)
bool is_seed () const
boost::filesystem::path save_path () const
alert_manageralerts () const
piece_pickerpicker ()
policyget_policy ()
piece_managerfilesystem ()
torrent_info const & torrent_file () const
std::vector< announce_entry >
const & 
trackers () const
void replace_trackers (std::vector< announce_entry > const &urls)
torrent_handle get_handle () const
void check_invariant () const
void distribute_resources (float tick_interval)
void set_peer_upload_limit (tcp::endpoint ip, int limit)
void set_peer_download_limit (tcp::endpoint ip, int limit)
void set_upload_limit (int limit)
void set_download_limit (int limit)
void set_max_uploads (int limit)
void set_max_connections (int limit)
bool move_storage (boost::filesystem::path const &save_path)
bool ready_for_connections () const
bool valid_metadata () const
void set_metadata (entry const &)

Public Attributes

bandwidth_limit m_bandwidth_limit [2]
resource_request m_uploads_quota
resource_request m_connections_quota
std::map< tcp::endpoint,
peer_connection * > 
m_connections

Private Types

typedef std::list
< boost::shared_ptr
< torrent_plugin > > 
extension_list_t

Private Member Functions

void try_next_tracker ()
int prioritize_tracker (int tracker_index)
void on_country_lookup (asio::error_code const &error, tcp::resolver::iterator i, boost::intrusive_ptr< peer_connection > p) const
bool request_bandwidth_from_session (int channel) const
void parse_response (const entry &e, std::vector< peer_entry > &peer_list)
void on_dht_announce (asio::error_code const &e)
void on_dht_announce_response (std::vector< tcp::endpoint > const &peers)
bool should_announce_dht () const

Static Private Member Functions

static void on_dht_announce_response_disp (boost::weak_ptr< torrent > t, std::vector< tcp::endpoint > const &peers)

Private Attributes

torrent_info m_torrent_file
bool m_abort
bool m_paused
bool m_just_paused
tracker_request::event_t m_event
int m_block_size
boost::scoped_ptr< piece_managerm_storage
boost::posix_time::ptime m_next_request
int m_duration
int m_complete
int m_incomplete
std::set< std::string > m_web_seeds
std::set< std::string > m_resolving_web_seeds
tcp::resolver m_host_resolver
bool m_resolving_country
bool m_resolve_countries
deadline_timer m_dht_announce_timer
libtorrent::stat m_stat
libtorrent::stat m_web_stat
boost::shared_ptr< policym_policy
aux::session_implm_ses
aux::checker_implm_checker
boost::scoped_ptr< piece_pickerm_picker
std::deque< bw_queue_entrym_bandwidth_queue [2]
std::vector< announce_entrym_trackers
int m_last_working_tracker
int m_currently_trying_tracker
int m_failed_trackers
int m_time_scaler
std::vector< boolm_have_pieces
int m_num_pieces
bool m_got_tracker_response
float m_ratio
size_type m_total_failed_bytes
size_type m_total_redundant_bytes
std::string m_username
std::string m_password
tcp::endpoint m_net_interface
boost::filesystem::path m_save_path
const bool m_compact_mode
const int m_default_block_size
bool m_connections_initialized
boost::scoped_ptr< std::string > m_name
session_settings const & m_settings
extension_list_t m_extensions
size_type m_initial_done


Detailed Description

Definition at line 90 of file torrent.hpp.


Member Typedef Documentation

Definition at line 244 of file torrent.hpp.

Definition at line 245 of file torrent.hpp.

typedef std::list<boost::shared_ptr<torrent_plugin> > libtorrent::torrent::extension_list_t [private]

Definition at line 648 of file torrent.hpp.


Constructor & Destructor Documentation

libtorrent::torrent::torrent ( aux::session_impl ses,
aux::checker_impl checker,
torrent_info const &  tf,
boost::filesystem::path const &  save_path,
tcp::endpoint const &  net_interface,
bool  compact_mode,
int  block_size,
session_settings const &  s 
)

libtorrent::torrent::torrent ( aux::session_impl ses,
aux::checker_impl checker,
char const *  tracker_url,
sha1_hash const &  info_hash,
char const *  name,
boost::filesystem::path const &  save_path,
tcp::endpoint const &  net_interface,
bool  compact_mode,
int  block_size,
session_settings const &  s 
)

libtorrent::torrent::~torrent (  ) 


Member Function Documentation

void libtorrent::torrent::add_extension ( boost::shared_ptr< torrent_plugin ext  ) 

Definition at line 410 of file torrent.cpp.

References m_extensions.

void libtorrent::torrent::init (  ) 

void libtorrent::torrent::abort (  ) 

bool libtorrent::torrent::is_aborted (  )  const [inline]

bool libtorrent::torrent::is_allocating (  )  const

Definition at line 2465 of file torrent.cpp.

References m_storage.

session_settings const & libtorrent::torrent::settings (  )  const

aux::session_impl& libtorrent::torrent::session (  )  [inline]

Definition at line 142 of file torrent.hpp.

void libtorrent::torrent::set_sequenced_download_threshold ( int  threshold  ) 

void libtorrent::torrent::second_tick ( stat accumulator,
float  tick_interval 
)

void libtorrent::torrent::print ( std::ostream &  os  )  const

std::string libtorrent::torrent::name (  )  const

bool libtorrent::torrent::check_fastresume ( aux::piece_checker_data data  ) 

std::pair< bool, float > libtorrent::torrent::check_files (  ) 

void libtorrent::torrent::files_checked ( std::vector< piece_picker::downloading_piece > const &  unfinished_pieces  ) 

stat libtorrent::torrent::statistics (  )  const [inline]

Definition at line 162 of file torrent.hpp.

size_type libtorrent::torrent::bytes_left (  )  const

tuple< size_type, size_type > libtorrent::torrent::bytes_done (  )  const

size_type libtorrent::torrent::quantized_bytes_done (  )  const

void libtorrent::torrent::pause (  ) 

void libtorrent::torrent::resume (  ) 

bool libtorrent::torrent::is_paused (  )  const [inline]

void libtorrent::torrent::filter_piece ( int  index,
bool  filter 
)

void libtorrent::torrent::filter_pieces ( std::vector< bool > const &  bitmask  ) 

bool libtorrent::torrent::is_piece_filtered ( int  index  )  const

void libtorrent::torrent::filtered_pieces ( std::vector< bool > &  bitmask  )  const

void libtorrent::torrent::filter_files ( std::vector< bool > const &  files  ) 

torrent_status libtorrent::torrent::status (  )  const

Definition at line 2502 of file torrent.cpp.

References libtorrent::torrent_status::announce_interval, asio::detail::socket_ops::bind(), block_size(), libtorrent::torrent_status::block_size, bytes_done(), libtorrent::torrent_status::connecting_to_tracker, libtorrent::torrent_status::current_tracker, libtorrent::torrent_status::distributed_copies, libtorrent::stat::download_payload_rate(), libtorrent::torrent_status::download_payload_rate, libtorrent::stat::download_rate(), libtorrent::torrent_status::download_rate, libtorrent::torrent_status::downloading, libtorrent::torrent_status::downloading_metadata, filtered_pieces(), libtorrent::torrent_status::finished, INVARIANT_CHECK, libtorrent::peer_connection::is_connecting(), is_seed(), m_complete, m_connections, m_duration, m_got_tracker_response, m_have_pieces, m_incomplete, m_last_working_tracker, m_num_pieces, m_paused, m_picker, m_stat, m_torrent_file, m_total_failed_bytes, m_total_redundant_bytes, m_trackers, next_announce(), libtorrent::torrent_status::next_announce, libtorrent::torrent_status::num_complete, libtorrent::torrent_status::num_incomplete, libtorrent::torrent_status::num_peers, libtorrent::torrent_status::num_pieces, libtorrent::torrent_info::num_pieces(), num_seeds(), libtorrent::torrent_status::num_seeds, libtorrent::torrent_status::paused, libtorrent::torrent_info::piece_length(), libtorrent::torrent_info::piece_size(), libtorrent::torrent_status::pieces, libtorrent::torrent_status::progress, libtorrent::torrent_status::seeding, libtorrent::torrent_status::state, libtorrent::torrent_status::total_done, libtorrent::torrent_status::total_download, libtorrent::torrent_status::total_failed_bytes, libtorrent::stat::total_payload_download(), libtorrent::torrent_status::total_payload_download, libtorrent::stat::total_payload_upload(), libtorrent::torrent_status::total_payload_upload, libtorrent::stat::total_protocol_download(), libtorrent::stat::total_protocol_upload(), libtorrent::torrent_status::total_redundant_bytes, libtorrent::torrent_info::total_size(), libtorrent::torrent_status::total_upload, libtorrent::torrent_status::total_wanted, libtorrent::torrent_status::total_wanted_done, libtorrent::stat::upload_payload_rate(), libtorrent::torrent_status::upload_payload_rate, libtorrent::stat::upload_rate(), libtorrent::torrent_status::upload_rate, and valid_metadata().

void libtorrent::torrent::file_progress ( std::vector< float > &  fp  )  const

void libtorrent::torrent::use_interface ( const char *  net_interface  ) 

tcp::endpoint const& libtorrent::torrent::get_interface (  )  const [inline]

Definition at line 182 of file torrent.hpp.

void libtorrent::torrent::connect_to_url_seed ( std::string const &  url  ) 

peer_connection & libtorrent::torrent::connect_to_peer ( tcp::endpoint const &  a  ) 

void libtorrent::torrent::set_ratio ( float  ratio  )  [inline]

Definition at line 187 of file torrent.hpp.

Referenced by libtorrent::torrent_handle::set_ratio().

float libtorrent::torrent::ratio (  )  const [inline]

void libtorrent::torrent::resolve_countries ( bool  r  )  [inline]

Definition at line 193 of file torrent.hpp.

Referenced by libtorrent::torrent_handle::resolve_countries().

bool libtorrent::torrent::resolving_countries (  )  const [inline]

Definition at line 196 of file torrent.hpp.

Referenced by libtorrent::torrent_handle::resolve_countries().

void libtorrent::torrent::request_bandwidth ( int  channel,
boost::intrusive_ptr< peer_connection p,
bool  non_prioritized 
)

void libtorrent::torrent::expire_bandwidth ( int  channel,
int  amount 
)

void libtorrent::torrent::assign_bandwidth ( int  channel,
int  amount 
)

int libtorrent::torrent::bandwidth_throttle ( int  channel  )  const

Definition at line 1876 of file torrent.cpp.

References m_bandwidth_limit, and libtorrent::bandwidth_limit::throttle().

void libtorrent::torrent::add_url_seed ( std::string const &  url  )  [inline]

Definition at line 217 of file torrent.hpp.

Referenced by libtorrent::torrent_handle::add_url_seed().

void libtorrent::torrent::remove_url_seed ( std::string const &  url  )  [inline]

Definition at line 220 of file torrent.hpp.

Referenced by libtorrent::policy::ban_peer(), on_name_lookup(), and on_proxy_name_lookup().

void libtorrent::torrent::attach_peer ( peer_connection p  ) 

void libtorrent::torrent::remove_peer ( peer_connection p  ) 

peer_connection* libtorrent::torrent::connection_for ( tcp::endpoint const &  a  )  [inline]

int libtorrent::torrent::num_peers (  )  const [inline]

int libtorrent::torrent::num_seeds (  )  const

const_peer_iterator libtorrent::torrent::begin (  )  const [inline]

const_peer_iterator libtorrent::torrent::end (  )  const [inline]

peer_iterator libtorrent::torrent::begin (  )  [inline]

Definition at line 250 of file torrent.hpp.

peer_iterator libtorrent::torrent::end (  )  [inline]

Definition at line 251 of file torrent.hpp.

void libtorrent::torrent::resolve_peer_country ( boost::intrusive_ptr< peer_connection > const &  p  )  const

void libtorrent::torrent::tracker_response ( tracker_request const &  r,
std::vector< peer_entry > &  e,
int  interval,
int  complete,
int  incomplete 
) [virtual]

void libtorrent::torrent::tracker_request_timed_out ( tracker_request const &  r  )  [virtual]

void libtorrent::torrent::tracker_request_error ( tracker_request const &  r,
int  response_code,
const std::string &  str 
) [virtual]

void libtorrent::torrent::tracker_warning ( std::string const &  msg  )  [virtual]

tracker_request libtorrent::torrent::generate_tracker_request (  ) 

std::string libtorrent::torrent::tracker_login (  )  const

boost::posix_time::ptime libtorrent::torrent::next_announce (  )  const [inline]

Definition at line 670 of file torrent.hpp.

References m_next_request.

Referenced by status().

bool libtorrent::torrent::should_request (  ) 

void libtorrent::torrent::force_tracker_request (  )  [inline]

Definition at line 675 of file torrent.hpp.

References m_next_request.

Referenced by completed(), and resume().

void libtorrent::torrent::force_tracker_request ( boost::posix_time::ptime  t  )  [inline]

Definition at line 681 of file torrent.hpp.

References m_next_request.

void libtorrent::torrent::set_tracker_login ( std::string const &  name,
std::string const &  pw 
) [inline]

Definition at line 687 of file torrent.hpp.

References m_password, and m_username.

Referenced by libtorrent::torrent_handle::set_tracker_login().

const tcp::endpoint & libtorrent::torrent::current_tracker (  )  const

bool libtorrent::torrent::have_piece ( int  index  )  const [inline]

Definition at line 307 of file torrent.hpp.

Referenced by libtorrent::piece_picker::check_invariant().

const std::vector<bool>& libtorrent::torrent::pieces (  )  const [inline]

Definition at line 313 of file torrent.hpp.

Referenced by libtorrent::policy::piece_finished(), and remove_peer().

int libtorrent::torrent::num_pieces (  )  const [inline]

Definition at line 316 of file torrent.hpp.

void libtorrent::torrent::peer_has ( int  index  )  [inline]

Definition at line 320 of file torrent.hpp.

void libtorrent::torrent::peer_lost ( int  index  )  [inline]

Definition at line 337 of file torrent.hpp.

Referenced by remove_peer().

int libtorrent::torrent::block_size (  )  const [inline]

Definition at line 353 of file torrent.hpp.

Referenced by bytes_done(), and status().

void libtorrent::torrent::announce_piece ( int  index  ) 

void libtorrent::torrent::disconnect_all (  ) 

void libtorrent::torrent::completed (  ) 

void libtorrent::torrent::on_peer_name_lookup ( asio::error_code const &  e,
tcp::resolver::iterator  i,
peer_id  pid 
)

void libtorrent::torrent::on_name_lookup ( asio::error_code const &  e,
tcp::resolver::iterator  i,
std::string  url,
tcp::endpoint  proxy 
)

void libtorrent::torrent::on_proxy_name_lookup ( asio::error_code const &  e,
tcp::resolver::iterator  i,
std::string  url 
)

void libtorrent::torrent::finished (  ) 

bool libtorrent::torrent::verify_piece ( int  piece_index  ) 

void libtorrent::torrent::piece_failed ( int  index  ) 

void libtorrent::torrent::received_redundant_data ( int  num_bytes  )  [inline]

Definition at line 394 of file torrent.hpp.

bool libtorrent::torrent::is_seed (  )  const [inline]

boost::filesystem::path libtorrent::torrent::save_path (  )  const

Definition at line 2157 of file torrent.cpp.

References m_save_path.

Referenced by libtorrent::torrent_handle::save_path().

alert_manager & libtorrent::torrent::alerts (  )  const

Definition at line 2152 of file torrent.cpp.

References libtorrent::aux::session_impl::m_alerts, and m_ses.

Referenced by finished(), and libtorrent::policy::peer_from_tracker().

piece_picker& libtorrent::torrent::picker (  )  [inline]

Definition at line 405 of file torrent.hpp.

Referenced by libtorrent::request_a_block(), and set_sequenced_download_threshold().

policy& libtorrent::torrent::get_policy (  )  [inline]

Definition at line 410 of file torrent.hpp.

piece_manager & libtorrent::torrent::filesystem (  ) 

Definition at line 2179 of file torrent.cpp.

References INVARIANT_CHECK, and m_storage.

torrent_info const& libtorrent::torrent::torrent_file (  )  const [inline]

std::vector<announce_entry> const& libtorrent::torrent::trackers (  )  const [inline]

Definition at line 419 of file torrent.hpp.

Referenced by libtorrent::torrent_handle::trackers().

void libtorrent::torrent::replace_trackers ( std::vector< announce_entry > const &  urls  ) 

torrent_handle libtorrent::torrent::get_handle (  )  const

void libtorrent::torrent::check_invariant (  )  const

void libtorrent::torrent::distribute_resources ( float  tick_interval  ) 

Definition at line 2425 of file torrent.cpp.

References INVARIANT_CHECK, m_policy, and m_time_scaler.

void libtorrent::torrent::set_peer_upload_limit ( tcp::endpoint  ip,
int  limit 
)

void libtorrent::torrent::set_peer_download_limit ( tcp::endpoint  ip,
int  limit 
)

void libtorrent::torrent::set_upload_limit ( int  limit  ) 

void libtorrent::torrent::set_download_limit ( int  limit  ) 

void libtorrent::torrent::set_max_uploads ( int  limit  ) 

void libtorrent::torrent::set_max_connections ( int  limit  ) 

bool libtorrent::torrent::move_storage ( boost::filesystem::path const &  save_path  ) 

Definition at line 2162 of file torrent.cpp.

References INVARIANT_CHECK, m_save_path, and m_storage.

Referenced by libtorrent::torrent_handle::move_storage().

bool libtorrent::torrent::ready_for_connections (  )  const [inline]

Definition at line 455 of file torrent.hpp.

Referenced by remove_peer().

bool libtorrent::torrent::valid_metadata (  )  const [inline]

void libtorrent::torrent::set_metadata ( entry const &  metadata  ) 

void libtorrent::torrent::try_next_tracker (  )  [private]

int libtorrent::torrent::prioritize_tracker ( int  tracker_index  )  [private]

Definition at line 1978 of file torrent.cpp.

References INVARIANT_CHECK, and m_trackers.

Referenced by tracker_response().

void libtorrent::torrent::on_country_lookup ( asio::error_code const &  error,
tcp::resolver::iterator  i,
boost::intrusive_ptr< peer_connection p 
) const [private]

Referenced by resolve_peer_country().

bool libtorrent::torrent::request_bandwidth_from_session ( int  channel  )  const [private]

void libtorrent::torrent::parse_response ( const entry e,
std::vector< peer_entry > &  peer_list 
) [private]

static void libtorrent::torrent::on_dht_announce_response_disp ( boost::weak_ptr< torrent t,
std::vector< tcp::endpoint > const &  peers 
) [static, private]

Referenced by on_dht_announce().

void libtorrent::torrent::on_dht_announce ( asio::error_code const &  e  )  [private]

void libtorrent::torrent::on_dht_announce_response ( std::vector< tcp::endpoint > const &  peers  )  [private]

bool libtorrent::torrent::should_announce_dht (  )  const [private]


Member Data Documentation

Definition at line 478 of file torrent.hpp.

Referenced by abort(), disconnect_all(), and ~torrent().

Definition at line 481 of file torrent.hpp.

Referenced by abort(), pause(), resume(), second_tick(), should_request(), and status().

Definition at line 484 of file torrent.hpp.

Referenced by pause(), and should_request().

Definition at line 486 of file torrent.hpp.

Referenced by abort(), completed(), generate_tracker_request(), pause(), and resume().

Definition at line 493 of file torrent.hpp.

Referenced by bytes_done(), check_invariant(), and init().

boost::scoped_ptr<piece_manager> libtorrent::torrent::m_storage [private]

boost::posix_time::ptime libtorrent::torrent::m_next_request [private]

Definition at line 508 of file torrent.hpp.

Referenced by status(), and tracker_response().

Definition at line 512 of file torrent.hpp.

Referenced by status(), and tracker_response().

Definition at line 513 of file torrent.hpp.

Referenced by status(), and tracker_response().

std::set<std::string> libtorrent::torrent::m_web_seeds [private]

Definition at line 525 of file torrent.hpp.

Referenced by init(), and second_tick().

std::set<std::string> libtorrent::torrent::m_resolving_web_seeds [private]

Definition at line 529 of file torrent.hpp.

Referenced by connect_to_url_seed(), on_name_lookup(), and second_tick().

Definition at line 538 of file torrent.hpp.

Referenced by resolve_peer_country().

Definition at line 542 of file torrent.hpp.

Definition at line 547 of file torrent.hpp.

Referenced by on_dht_announce(), torrent(), and try_next_tracker().

Definition at line 555 of file torrent.hpp.

Referenced by generate_tracker_request(), second_tick(), and status().

Definition at line 559 of file torrent.hpp.

Referenced by generate_tracker_request(), and second_tick().

boost::shared_ptr<policy> libtorrent::torrent::m_policy [private]

Definition at line 568 of file torrent.hpp.

Referenced by get_handle(), and set_metadata().

boost::scoped_ptr<piece_picker> libtorrent::torrent::m_picker [private]

Definition at line 573 of file torrent.hpp.

Referenced by expire_bandwidth(), and request_bandwidth().

Definition at line 577 of file torrent.hpp.

Referenced by replace_trackers(), status(), and tracker_response().

Definition at line 587 of file torrent.hpp.

Referenced by distribute_resources(), and resume().

std::vector<bool> libtorrent::torrent::m_have_pieces [private]

Definition at line 600 of file torrent.hpp.

Referenced by status(), and tracker_response().

Definition at line 605 of file torrent.hpp.

Definition at line 609 of file torrent.hpp.

Referenced by piece_failed(), and status().

Definition at line 610 of file torrent.hpp.

Referenced by status().

std::string libtorrent::torrent::m_username [private]

Definition at line 612 of file torrent.hpp.

Referenced by set_tracker_login(), and tracker_login().

std::string libtorrent::torrent::m_password [private]

Definition at line 613 of file torrent.hpp.

Referenced by set_tracker_login(), and tracker_login().

Definition at line 617 of file torrent.hpp.

Referenced by use_interface().

boost::filesystem::path libtorrent::torrent::m_save_path [private]

Definition at line 619 of file torrent.hpp.

Referenced by init(), move_storage(), save_path(), and set_metadata().

Definition at line 622 of file torrent.hpp.

Referenced by check_fastresume().

Definition at line 626 of file torrent.hpp.

Referenced by init().

Definition at line 637 of file torrent.hpp.

Referenced by files_checked().

boost::scoped_ptr<std::string> libtorrent::torrent::m_name [private]

Definition at line 643 of file torrent.hpp.

Referenced by name(), and torrent().

Definition at line 645 of file torrent.hpp.

Definition at line 656 of file torrent.hpp.

Referenced by check_fastresume(), check_files(), files_checked(), and torrent().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:21:44 2008 by  doxygen 1.5.6