Packages that use KRPC
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.
BitTorrent distributed hash table (DHT) implementation following the Mainline protocol, for trackerless peer discovery.
Uses of KRPC in org.klomp.snark
Methods in org.klomp.snark that return KRPCModifier and TypeMethodDescriptionprivate KRPCI2PSnarkUtil.getKRPC()The main DHT instance, or null if disabled.Methods in org.klomp.snark with parameters of type KRPCModifier and TypeMethodDescriptionLazily create the DHT instance on this destination's session, sharing the main instance's routing table, tracker, and blacklist, serving tracker queries only for the torrents assigned here.Uses of KRPC in org.klomp.snark.dht
Subclasses of KRPC in org.klomp.snark.dhtModifier and TypeClassDescriptionclassA DHT instance for one or more torrents on a shared transient I2P session and destination.Methods in org.klomp.snark.dht with parameters of type KRPCModifier and TypeMethodDescriptionstatic voidLoad the DHT from a single file.static voidLoad the DHT from file, trying the backup if the primary doesn't exist.Constructors in org.klomp.snark.dht with parameters of type KRPCModifierConstructorDescriptionprotectedKRPC(I2PAppContext ctx, String baseName, I2PSession session, KRPC shared) Create the DHT instance sharing state.TorrentKRPC(I2PAppContext ctx, KRPC shared, I2PSession session, Collection<InfoHash> ihs) Create a DHT instance on a torrent's transient destination.