## Uses of Interface
org.klomp.snark.PeerListener

- Packages that use PeerListener
  Package | Description
  --- | ---
  org.klomp.snark | I2P version of the snark bittorrent client, imported in 2005 and heavily enhanced to add a web UI, DHT support, and other features.

- - ### Uses of PeerListener in org.klomp.snark

    Classes in org.klomp.snark that implement PeerListener
    Modifier and Type | Class and Description
    --- | ---
    `(package private) class` | `PeerCoordinator` Coordinates peer activities for a single torrent including upload/download management, peer selection, piece distribution, and bandwidth allocation.

    Fields in org.klomp.snark declared as PeerListener
    Modifier and Type | Field and Description
    --- | ---
    `(package private) PeerListener` | PeerState.`listener` Fixme, used by Peer.disconnect() to get to the coordinator

    Methods in org.klomp.snark with parameters of type PeerListener
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ExtensionHandler.`handleMessage(Peer peer, PeerListener listener, int id, byte[] bs)`
    `void` | Peer.`runConnection(I2PSnarkUtil util, PeerListener listener, BandwidthListener bwl, BitField bitfield, MagnetState mState, boolean uploadOnly)` Runs the connection to the other peer.
    `void` | WebPeer.`runConnection(I2PSnarkUtil util, PeerListener listener, BandwidthListener bwl, BitField ignore, MagnetState mState, boolean uploadOnly)` Runs the connection to the other peer.

    Constructors in org.klomp.snark with parameters of type PeerListener
    Constructor and Description
    `PeerState(Peer peer, PeerListener listener, BandwidthListener bwl, MetaInfo metainfo, PeerConnectionIn in, PeerConnectionOut out)`