Class peer_connection_handle

java.lang.Object
com.frostwire.jlibtorrent.swig.peer_connection_handle
Direct Known Subclasses:
bt_peer_connection_handle

public class peer_connection_handle extends Object
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

  • Method Details

    • getCPtr

      protected static long getCPtr(peer_connection_handle obj)
    • swigRelease

      protected static long swigRelease(peer_connection_handle obj)
    • delete

      public void delete()
    • type

      public connection_type type()
    • is_seed

      public boolean is_seed()
    • upload_only

      public boolean upload_only()
    • pid

      public sha1_hash pid()
    • has_piece

      public boolean has_piece(int i)
    • is_interesting

      public boolean is_interesting()
    • is_choked

      public boolean is_choked()
    • is_peer_interested

      public boolean is_peer_interested()
    • has_peer_choked

      public boolean has_peer_choked()
    • choke_this_peer

      public void choke_this_peer()
    • maybe_unchoke_this_peer

      public void maybe_unchoke_this_peer()
    • get_peer_info

      public void get_peer_info(peer_info p)
    • associated_torrent

      public torrent_handle associated_torrent()
    • remote

      public tcp_endpoint remote()
    • local_endpoint

      public tcp_endpoint local_endpoint()
    • disconnect

      public void disconnect(error_code ec, operation_t op, int arg2)
    • disconnect

      public void disconnect(error_code ec, operation_t op)
    • is_disconnecting

      public boolean is_disconnecting()
    • is_connecting

      public boolean is_connecting()
    • is_outgoing

      public boolean is_outgoing()
    • on_local_network

      public boolean on_local_network()
    • ignore_unchoke_slots

      public boolean ignore_unchoke_slots()
    • failed

      public boolean failed()
    • can_disconnect

      public boolean can_disconnect(error_code ec)
    • has_metadata

      public boolean has_metadata()
    • in_handshake

      public boolean in_handshake()
    • send_buffer

      public void send_buffer(String begin, int size)
    • last_seen_complete

      public long last_seen_complete()
    • op_eq

      public boolean op_eq(peer_connection_handle o)
    • op_ne

      public boolean op_ne(peer_connection_handle o)
    • op_lt

      public boolean op_lt(peer_connection_handle o)
    • get_time_of_last_unchoke

      public long get_time_of_last_unchoke()