All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
void |
add_dht_node(string_int_pair node) |
void |
add_extension(swig_plugin ext) |
port_mapping_t_vector |
add_port_mapping(portmap_protocol t,
int external_port,
int local_port) |
torrent_handle |
add_torrent(add_torrent_params params,
error_code ec) |
void |
apply_settings(settings_pack s) |
void |
async_add_torrent(add_torrent_params params) |
int |
create_peer_class(java.lang.String name) |
void |
delete_peer_class(int cid) |
void |
delete_port_mapping(int handle) |
void |
delete() |
void |
dht_announce(sha1_hash info_hash) |
void |
dht_announce(sha1_hash info_hash,
int port) |
void |
dht_announce(sha1_hash info_hash,
int port,
int flags) |
void |
dht_direct_request(udp_endpoint ep,
entry e) |
void |
dht_direct_request(udp_endpoint ep,
entry e,
long userdata) |
void |
dht_get_item(byte_vector key,
byte_vector salt) |
void |
dht_get_item(sha1_hash target) |
void |
dht_get_peers(sha1_hash info_hash) |
void |
dht_live_nodes(sha1_hash nid) |
void |
dht_put_item(byte_vector key,
byte_vector sk,
entry data,
byte_vector salt) |
sha1_hash |
dht_put_item(entry data) |
void |
dht_sample_infohashes(udp_endpoint ep,
sha1_hash target) |
protected void |
finalize() |
torrent_handle |
find_torrent(sha1_hash info_hash) |
dht_settings |
get_dht_settings() |
ip_filter |
get_ip_filter() |
ip_filter |
get_peer_class_filter() |
peer_class_type_filter |
get_peer_class_type_filter() |
peer_class_info |
get_peer_class(int cid) |
settings_pack |
get_settings() |
torrent_handle_vector |
get_torrents() |
protected static long |
getCPtr(session_handle obj) |
static int |
getGlobal_peer_class_id() |
static int |
getLocal_peer_class_id() |
static int |
getTcp_peer_class_id() |
boolean |
is_dht_running() |
boolean |
is_listening() |
boolean |
is_paused() |
boolean |
is_valid() |
int |
listen_port() |
void |
load_state(bdecode_node e) |
void |
load_state(bdecode_node e,
save_state_flags_t flags) |
void |
pause() |
void |
pop_alerts(alert_ptr_vector alerts) |
void |
post_dht_stats() |
void |
post_session_stats() |
void |
post_torrent_updates() |
void |
post_torrent_updates(status_flags_t flags) |
void |
refresh_torrent_status(torrent_status_vector ret) |
void |
refresh_torrent_status(torrent_status_vector ret,
status_flags_t flags) |
void |
remove_torrent(torrent_handle h) |
void |
remove_torrent(torrent_handle h,
remove_flags_t options) |
void |
reopen_network_sockets() |
void |
reopen_network_sockets(reopen_network_flags_t options) |
void |
resume() |
void |
save_state(entry e) |
void |
save_state(entry e,
save_state_flags_t flags) |
void |
set_alert_notify_callback(alert_notify_callback cb) |
void |
set_dht_settings(dht_settings settings) |
void |
set_ip_filter(ip_filter f) |
void |
set_peer_class_filter(ip_filter f) |
void |
set_peer_class_type_filter(peer_class_type_filter f) |
void |
set_peer_class(int cid,
peer_class_info pci) |
void |
set_port_filter(port_filter f) |
int |
ssl_listen_port() |
alert |
wait_for_alert_ms(long max_wait) |