Class PeerInfoAlert

java.lang.Object
com.frostwire.jlibtorrent.alerts.AbstractAlert<com.frostwire.jlibtorrent.swig.peer_info_alert>
com.frostwire.jlibtorrent.alerts.TorrentAlert<com.frostwire.jlibtorrent.swig.peer_info_alert>
com.frostwire.jlibtorrent.alerts.PeerInfoAlert
All Implemented Interfaces:
Alert<com.frostwire.jlibtorrent.swig.peer_info_alert>

public final class PeerInfoAlert extends TorrentAlert<com.frostwire.jlibtorrent.swig.peer_info_alert>
posted when torrent_handle::post_peer_info() is called.
  • Method Details

    • getPeerInfo

      public ArrayList<PeerInfo> getPeerInfo()
      the list of the currently connected peers.