Variables | |
| tuple | ses = lt.session() |
| tuple | e = lt.bdecode(open("test.torrent", 'rb').read()) |
| tuple | info = lt.torrent_info(e) |
| tuple | h = ses.add_torrent(info, "./", compact_mode = True) |
| tuple | s = h.status() |
| list | state_str |
| tuple simple_client::e = lt.bdecode(open("test.torrent", 'rb').read()) |
Definition at line 9 of file simple_client.py.
Referenced by libtorrent::torrent_info::add_file(), libtorrent::dht::traversal_algorithm::add_requests(), add_torrent(), libtorrent::torrent_info::add_tracker(), libtorrent::bdecode(), libtorrent::detail::bdecode_recursive(), fsAVIIdx1Builder::BuildIdx1(), libtorrent::close_socket_ignore_error(), libtorrent::policy::connect_peer(), entry_to_python::convert(), Curl_ossl_engines_list(), Curl_ossl_set_engine(), CWebInterfaceDlg::DoModal(), file_progress(), vmsBtDownloadImpl::get_FastResumeData(), vmsBtFileImpl::get_TorrentBuffer(), asio::ssl::detail::openssl_stream_service::handshake(), hash_element_dtor(), libtorrent::peer_connection::incoming_piece(), libtorrent::dht::refresh::invoke_pings_or_finish(), main(), asio::detail::null_thread::null_thread(), libtorrent::dht::node_impl::on_announce(), libtorrent::dht::dht_tracker::on_receive(), libtorrent::file_pool::open_file(), libtorrent::aux::session_impl::open_listen_port(), libtorrent::aux::checker_impl::operator()(), libtorrent::torrent_info::parse_info_section(), libtorrent::policy::peer_from_tracker(), pieces(), libtorrent::aux::session_impl::process_connection_queue(), asio::ssl::detail::openssl_stream_service::read_some(), libtorrent::torrent_info::read_torrent_info(), asio::ip::basic_endpoint< InternetProtocol >::resize(), libtorrent::dht::dht_tracker::send_packet(), sha1_compile(), SHA1Transform(), asio::ssl::detail::openssl_stream_service::shutdown(), asio::detail::socket_select_interrupter::socket_select_interrupter(), test_main(), asio::detail::throw_error(), asio::ip::address::to_v4(), asio::ip::address::to_v6(), and asio::ssl::detail::openssl_stream_service::write_some().
| tuple simple_client::h = ses.add_torrent(info, "./", compact_mode = True) |
Definition at line 12 of file simple_client.py.
Referenced by add_torrent(), fsPartMediaPlayer::AutoSize(), bindlocal(), ConvertBmp32WithAlphaToBmp32WithoutAlpha(), Curl_getaddrinfo(), Curl_hash_alloc(), Curl_ip2addr(), fsArchive::fsArchiveFileStream::Detach(), vmsFDM::vmsFile::Detach(), asio::detail::task_io_service< Task >::handler_wrapper< Handler >::do_call(), asio::detail::task_io_service< Task >::handler_wrapper< Handler >::do_destroy(), asio::detail::strand_service::handler_wrapper< Handler >::do_destroy(), asio::detail::strand_service::handler_wrapper< Handler >::do_invoke(), asio::detail::task_io_service< Task >::do_one(), ftp_state_use_port(), gen_bitlen(), libtorrent::dht::generate_id(), libtorrent::dht::node_impl::generate_token(), hash_element_dtor(), fsMutex::Lock(), main(), CMyMessageBox::OnInitDialog(), libtorrent::torrent_info::parse_info_section(), scan_dir(), asio::detail::task_io_service< Task >::shutdown_service(), test_main(), time2str(), libtorrent::torrent::verify_piece(), and libtorrent::dht::node_impl::verify_token().
| tuple simple_client::info = lt.torrent_info(e) |
Definition at line 10 of file simple_client.py.
Referenced by fsDownloadMgr::_DownloaderEvents(), fsInternetDownloader::_InetFileDialogFunc(), CDownloads_History::_threadApplyFilter(), CHFE_FileList::_threadBuildList(), CDownloadProperties_MirrorsPage::_threadCalcMirrSpeed(), CCreateDownloadListDlg::_threadCalcSize(), CCreateBatchDownload::_threadCalcSize(), CCreateDownloadListDlg::_threadCalculateSize(), CCreateBatchDownload::_threadCalculateSize(), vmsMediaConvertMgr::_threadConvertMediaFile(), CDownloadsWnd::_threadFilterDownloads(), CDownloadProperties_MirrorsPage::_threadFindMirrors(), fsFindDownloadMgr::_threadFindNext(), fsDownloadsMgr::_threadWaitDelDeletingsDlds(), fsDownloadsMgr::_threadWaitDelDlds(), fsDownloadsMgr::_threadWaitRestoringDlds(), CListCtrlEx::AddItem(), bind_alert(), libtorrent::torrent_info::create_info_metadata(), Curl_initinfo(), fsODMenu::DetachMenuItem(), libtorrent::torrent_handle::file_progress(), GetShell32Version(), fsLangMgr::Initialize(), main(), libtorrent::web_peer_connection::on_receive(), libtorrent::storage::read(), fsODMenu::SetImages(), fsODMenu::SetMenuItemText(), test_main(), CListCtrlEx::VirtualView_ItemWillBeAdded(), vmsBtSessionImpl::vmsBtSessionImpl(), libtorrent::storage::write(), and libtorrent::web_peer_connection::write_request().
| tuple simple_client::s = h.status() |
Definition at line 15 of file simple_client.py.
Referenced by vmsBtDownloadManager::_threadCheckStartSeeding(), add_bufferf(), add_torrent(), AddFormDataf(), AllowServerConnect(), libtorrent::udp_tracker_connection::announce_response(), asio::basic_socket< Protocol, StreamSocketService >::available(), CMainFrame::Balloon_ShowDLInfo(), base64_encode(), fsHttpFiles::BuildFileList(), CWnd_FDMGetCustVer_Btn::CalculateTextRect(), asio::basic_deadline_timer< Time, TimeTraits, TimerService >::cancel(), libtorrent::torrent::connect_to_peer(), fsAppSettings::Convert_VideoSize(), ConvertFileTimeToString(), ConvertMediaFile(), Curl_ftpsendf(), Curl_if2ip(), curl_multi_fdset(), Curl_nbftpsendf(), Curl_sendf(), Curl_strlcat(), CDownloads_Tasks::DeleteSelected(), des_encrypt(), des_set_key(), CMyComBSTR::Detach(), do_flush(), asio::basic_deadline_timer< Time, TimeTraits, TimerService >::expires_at(), asio::basic_deadline_timer< Time, TimeTraits, TimerService >::expires_from_now(), FileTimeToStr(), vmsBtDownloadImpl::get_CurrentTracker(), vmsBtDownloadImpl::get_PeersStat(), vmsBtDownloadImpl::get_ShareRating(), vmsBtDownloadImpl::get_WastedByteCount(), CArchiverInfo::GetAllExtensions(), CDownloads_Tasks::GetDownloadText(), vmsDownloadMgrEx::GetSectionInfo(), vms7zipArchiveExtractCallback::GetStream(), gz_open(), gzclearerr(), gzclose(), gzdirect(), gzeof(), gzerror(), gzflush(), gzread(), gzrewind(), gzseek(), gzsetparams(), gzungetc(), gzwrite(), fsScheduleMgr::HTSToStr(), asio::ssl::stream< Stream, Service >::in_avail(), isqrt(), fsDldHistRecFilter_DuringPeriod::IsSatisfies(), main(), libtorrent::torrent::on_name_lookup(), libtorrent::file::impl::open(), asio::ip::address_v6::operator<<(), asio::ip::address_v4::operator<<(), asio::ssl::stream< Stream, Service >::peek(), libtorrent::torrent::piece_failed(), asio::io_service::poll(), asio::io_service::poll_one(), pos_to_string(), ratio(), asio::ssl::stream< Stream, Service >::read_some(), asio::basic_stream_socket< Protocol, StreamSocketService >::read_some(), asio::basic_stream_socket< Protocol, StreamSocketService >::receive(), asio::basic_datagram_socket< Protocol, DatagramSocketService >::receive(), asio::basic_datagram_socket< Protocol, DatagramSocketService >::receive_from(), asio::io_service::run(), asio::io_service::run_one(), run_storage_tests(), scan_dir(), asio::basic_stream_socket< Protocol, StreamSocketService >::send(), asio::basic_datagram_socket< Protocol, DatagramSocketService >::send(), asio::basic_datagram_socket< Protocol, DatagramSocketService >::send_to(), vmsBtSessionImpl::SetProxySettings(), vmsBtSessionImpl::SetUserAgent(), singlesocket(), sleep_and_input(), asio::detail::socket_ops::socket(), throw_exception(), time2str(), libtorrent::fingerprint::to_string(), to_string(), libtorrent::torrent::tracker_request_error(), libtorrent::torrent::tracker_request_timed_out(), libtorrent::torrent::tracker_response(), CDownloads_Deleted::UpdateDownload(), asio::ssl::stream< Stream, Service >::write_some(), and asio::basic_stream_socket< Protocol, StreamSocketService >::write_some().
| tuple simple_client::ses = lt.session() |
Initial value:
['queued', 'checking', 'connecting', 'downloading metadata', \ 'downloading', 'finished', 'seeding', 'allocating']
Definition at line 17 of file simple_client.py.
Referenced by main().
1.5.6