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

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

    Classes in org.klomp.snark that implement DataLoader
    Modifier and Type | Class and Description
    --- | ---
    `(package private) class` | `PeerState` Manages the state and protocol logic for a BitTorrent peer connection. This class tracks peer interest/choking status, piece availability, request queues, and handles all BitTorrent protocol message processing.

    Methods in org.klomp.snark with parameters of type DataLoader
    Modifier and Type | Method and Description
    --- | ---
    `(package private) void` | PeerConnectionOut.`sendPiece(int piece, int begin, int length, DataLoader loader)` Queue a piece message with a callback to load the data from disk when required.

    Constructors in org.klomp.snark with parameters of type DataLoader
    Constructor and Description
    `Message(int piece, int begin, int length, DataLoader loader)` For type PIECE with deferred data