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

- Packages that use BandwidthListener
  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 BandwidthListener in org.klomp.snark

    Classes in org.klomp.snark that implement BandwidthListener
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BandwidthManager` Bandwidth and bandwidth limits
    `class` | `Peer` Represents a peer in the BitTorrent network, managing all public information and communication with that peer.
    `(package private) class` | `PeerCoordinator` Coordinates peer activities for a single torrent including upload/download management, peer selection, piece distribution, and bandwidth allocation.
    `(package private) class` | `WebPeer` BEP 19.

    Methods in org.klomp.snark that return BandwidthListener
    Modifier and Type | Method and Description
    --- | ---
    `BandwidthListener` | CompleteListener.`getBandwidthListener()`
    `BandwidthListener` | SnarkManager.`getBandwidthListener()` The BandwidthManager.
    `BandwidthListener` | UpdateRunner.`getBandwidthListener()`
    `(package private) BandwidthListener` | PeerState.`getBandwidthListener()`

    Methods in org.klomp.snark with parameters of type BandwidthListener
    Modifier and Type | Method and Description
    --- | ---
    `void` | Request.`read(DataInputStream din, BandwidthListener bwl)`
    `void` | PartialPiece.`read(DataInputStream din, int offset, int len, BandwidthListener bwl)` Reads data from the input stream into this piece starting at offset.
    `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 BandwidthListener
    Constructor and Description
    `PeerCoordinator(I2PSnarkUtil util, byte[] id, byte[] infohash, MetaInfo metainfo, Storage storage, CoordinatorListener listener, Snark torrent, BandwidthListener bwl)`
    `PeerState(Peer peer, PeerListener listener, BandwidthListener bwl, MetaInfo metainfo, PeerConnectionIn in, PeerConnectionOut out)`