示例#1
0
		// Returns number of seconds the torrent has been active
		inline boost::int64_t getActiveTime()
		{
			return m_handle.status().active_time;
		}
示例#2
0
		// Returns the current torrent state (downloading, queueing, seeding, etc)
		inline libtorrent::torrent_status::state_t getState()
		{
			return m_handle.status().state;
		}
示例#3
0
		//Returns the URL of the last working tracker
		inline std::string getCurrentTrackerURL()
		{
			return m_handle.status().current_tracker;
		}
示例#4
0
		// Returns a the total size of files remaining to download in torrent
		inline boost::int64_t getRemaining() { return m_handle.status().total_wanted - m_handle.status().total_wanted_done; }