Packages that use DataLoader
Package
Description
I2P version of the Snark BitTorrent client, enhanced for I2P: peers are I2P destinations, torrents can be served anonymously as hidden services, and metadata carries I2P-specific comment fields.
Uses of DataLoader in org.klomp.snark
Classes in org.klomp.snark that implement DataLoaderModifier and TypeClassDescription(package private) classManages 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.Fields in org.klomp.snark declared as DataLoaderModifier and TypeFieldDescriptionprivate final DataLoaderMessage.dataLoaderThe loader for a deferred fetch of the message data.Methods in org.klomp.snark with parameters of type DataLoaderModifier and TypeMethodDescription(package private) voidPeerConnectionOut.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 DataLoaderModifierConstructorDescriptionprivateMessage(byte type, int piece, int begin, int length, byte[] data, int off, int len, DataLoader loader) Creates a peer protocol message from its fields.(package private)Message(int piece, int begin, int length, DataLoader loader) For type PIECE with deferred data.