Class libtorrent
java.lang.Object
com.frostwire.jlibtorrent.swig.libtorrent
- All Implemented Interfaces:
libtorrentConstants
-
Field Summary
Fields inherited from interface com.frostwire.jlibtorrent.swig.libtorrentConstants
LIBTORRENT_REVISION, LIBTORRENT_VERSION, LIBTORRENT_VERSION_MAJOR, LIBTORRENT_VERSION_MINOR, LIBTORRENT_VERSION_NUM, LIBTORRENT_VERSION_TINY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidadd_files(file_storage fs, String file) static voidadd_files(file_storage fs, String file, create_flags_t flags) static voidadd_files_ex(file_storage fs, String file, add_files_listener listener, create_flags_t flags) static Stringalert_name(int alert_type) static booleanstatic Stringstatic intstatic voidcopy_byte_vector_to_char_array(byte_vector source, String target, long target_size) static settings_packstatic Stringdevice_for_address(session s, address addr, error_code ec) static byte_vectored25519_add_scalar_public(byte_vector pk, byte_vector scalar) static byte_vectored25519_add_scalar_secret(byte_vector sk, byte_vector scalar) static byte_vector_byte_vector_pairstatic byte_array_32static byte_vectorstatic byte_vectored25519_sign(byte_vector msg, byte_vector pk, byte_vector sk) static booleaned25519_verify(byte_vector sig, byte_vector msg, byte_vector pk) static ip_interface_vectorstatic ip_route_vectorstatic intfind_metric_idx_s(String name) static Stringgenerate_fingerprint(String name, int major) static Stringgenerate_fingerprint(String name, int major, int minor) static Stringgenerate_fingerprint(String name, int major, int minor, int revision) static Stringgenerate_fingerprint(String name, int major, int minor, int revision, int tag) static addressget_gateway(ip_interface iface, ip_route_vector routes) static intstatic torrent_flags_tgetAll()static write_torrent_flags_tstatic torrent_flags_tstatic torrent_flags_tstatic alert_category_tstatic alert_category_tstatic torrent_flags_tstatic torrent_flags_tstatic alert_category_tgetDht()static alert_category_tstatic alert_category_tstatic torrent_flags_tstatic torrent_flags_tstatic torrent_flags_tstatic torrent_flags_tstatic alert_category_tgetError()static alert_category_tstatic torrent_flags_tstatic write_torrent_flags_tstatic alert_category_tstatic alert_category_tstatic torrent_flags_tstatic write_torrent_flags_tstatic torrent_flags_tstatic intstatic longstatic torrent_flags_tstatic torrent_flags_tstatic torrent_flags_tstatic alert_category_tgetPeer()static alert_category_tstatic alert_category_tstatic alert_category_tstatic alert_category_tstatic alert_category_tstatic alert_category_tstatic torrent_flags_tstatic torrent_flags_tstatic alert_category_tstatic torrent_flags_tstatic alert_category_tgetStats()static alert_category_tstatic torrent_flags_tstatic alert_category_tstatic torrent_flags_tstatic alert_category_tstatic alert_category_tstatic torrent_flags_tstatic alert_category_tstatic torrent_flags_tstatic settings_packstatic Stringstatic Stringmake_magnet_uri(torrent_handle handle) static Stringmake_magnet_uri(torrent_info info) static voidmem_copy(byte_vector source, String target, long target_size) static settings_packstatic Stringname_for_setting(int s) static status_tstatic booleanop_eq(info_hash_t lhs, info_hash_t rhs) static status_tstatic booleanop_ne(info_hash_t lhs, info_hash_t rhs) static status_tstatic intstatic Stringstatic Stringstatic add_torrent_paramsparse_magnet_uri(String uri, error_code ec) static Stringprint_error(error_code arg0) static add_torrent_paramsread_resume_data(bdecode_node rd, error_code ec) static add_torrent_paramsread_resume_data(bdecode_node rd, error_code ec, int piece_limit) static add_torrent_paramsread_resume_data_ex(byte_vector buffer, error_code ec) static add_torrent_paramsread_resume_data_ex(byte_vector buffer, error_code ec, load_torrent_limits cfg) static stats_metric_vectorstatic voidset_piece_hashes_ex(create_torrent t, String p, set_piece_hashes_listener listener, error_code ec) static voidset_piece_hashes_posix_disk_io(create_torrent t, String p, set_piece_hashes_listener listener, error_code ec) static voidstatic Stringversion()static entrystatic byte_vectorstatic entrystatic entrystatic byte_vector
-
Constructor Details
-
libtorrent
public libtorrent()
-
-
Method Details
-
getNum_protocols
public static long getNum_protocols() -
op_ne
-
op_eq
-
op_or
-
op_and
-
op_inv
-
operation_name
-
print_error
-
getSeed_mode
-
getUpload_mode
-
getApply_ip_filter
-
getPaused
-
getAuto_managed
-
getDuplicate_is_error
-
getUpdate_subscribe
-
getSuper_seeding
-
getSequential_download
-
getStop_when_ready
-
getOverride_trackers
-
getOverride_web_seeds
-
getNeed_save_resume
-
getDisable_dht
-
getDisable_lsd
-
getDisable_pex
-
getNo_verify_files
-
getDefault_dont_download
-
getI2p_torrent
-
getAll
-
getDefault_flags
-
getError
-
getPeer
-
getPort_mapping
-
getStorage
-
getTracker
-
getConnect
-
getStatus
-
getIp_block
-
getPerformance_warning
-
getDht
-
getStats
-
getSession_log
-
getTorrent_log
-
getPeer_log
-
getIncoming_request
-
getDht_log
-
getDht_operation
-
getPort_mapping_log
-
getPicker_log
-
getFile_progress
-
getPiece_progress
-
getUpload
-
getBlock_progress
-
alert_name
-
getNum_alert_types
public static int getNum_alert_types() -
getAbi_alert_count
public static int getAbi_alert_count() -
name_for_setting
-
default_settings
-
min_memory_usage
-
high_performance_seed
-
add_files
-
add_files
-
session_stats_metrics
-
version
-
make_magnet_uri
-
make_magnet_uri
-
make_magnet_uri
-
generate_fingerprint
-
generate_fingerprint
-
generate_fingerprint
-
generate_fingerprint
-
read_resume_data
-
read_resume_data
-
write_resume_data
-
getAllow_missing_piece_layer
-
getNo_http_seeds
-
getInclude_dht_nodes
-
write_torrent_file
-
write_torrent_file
-
ed25519_create_seed
-
ed25519_create_keypair
-
ed25519_sign
-
ed25519_verify
-
ed25519_add_scalar_public
-
ed25519_add_scalar_secret
-
ed25519_key_exchange
-
add_files_ex
public static void add_files_ex(file_storage fs, String file, add_files_listener listener, create_flags_t flags) -
set_piece_hashes_ex
public static void set_piece_hashes_ex(create_torrent t, String p, set_piece_hashes_listener listener, error_code ec) -
set_piece_hashes_posix_disk_io
public static void set_piece_hashes_posix_disk_io(create_torrent t, String p, set_piece_hashes_listener listener, error_code ec) -
boost_version
public static int boost_version() -
boost_lib_version
-
openssl_version_number
public static int openssl_version_number() -
openssl_version_text
-
find_metric_idx_s
-
read_resume_data_ex
public static add_torrent_params read_resume_data_ex(byte_vector buffer, error_code ec, load_torrent_limits cfg) -
read_resume_data_ex
-
write_resume_data_buf_ex
-
write_torrent_file_buf_ex
-
parse_magnet_uri
-
enum_net_interfaces
-
enum_routes
-
mem_copy
-
copy_byte_vector_to_char_array
public static void copy_byte_vector_to_char_array(byte_vector source, String target, long target_size) -
get_gateway
-
device_for_address
-
arm_neon_support
public static boolean arm_neon_support() -
set_posix_wrapper
-