Packages that use SnarkManager
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.
The I2PSnark web interface (i2psnark.war): servlets and helpers for torrent management, file browsing and configuration.
Uses of SnarkManager in org.klomp.snark
Fields in org.klomp.snark declared as SnarkManagerModifier and TypeFieldDescriptionprivate final SnarkManagerBandwidthGraph._managerThe manager whose torrents are counted.private final SnarkManagerUpdateHandler._smgrThe torrents paused while an update is installed.private final SnarkManagerUpdateRunner._smgrThe snark manager being updated.Methods in org.klomp.snark with parameters of type SnarkManagerModifier and TypeMethodDescriptionstatic voidBandwidthGraph.start(SnarkManager manager) Start the sampler for this snark manager, loading prior history from the tmp-dir file when present.Constructors in org.klomp.snark with parameters of type SnarkManagerModifierConstructorDescriptionprivateBandwidthGraph(SnarkManager manager) Builds the graph for one manager.IdleChecker(SnarkManager mgr, PeerCoordinatorSet pcs) Caller must schedule.UpdateHandler(I2PAppContext ctx, UpdateManager umgr, SnarkManager smgr) Wire an updater to the router's update manager and the torrent client.UpdateRunner(I2PAppContext ctx, UpdateManager umgr, SnarkManager smgr, UpdateType type, List<URI> uris, String newVersion) Update runner.Uses of SnarkManager in org.klomp.snark.web
Fields in org.klomp.snark.web declared as SnarkManagerModifier and TypeFieldDescriptionprivate SnarkManagerI2PSnarkServlet._managerThe manager holding this webapp's torrents.private final SnarkManagerFetchAndAdd._mgrThe manager the torrent is added to.Methods in org.klomp.snark.web that return SnarkManagerModifier and TypeMethodDescription(package private) SnarkManagerI2PSnarkServlet.manager()The torrent manager behind this servlet.Methods in org.klomp.snark.web with parameters of type SnarkManagerModifier and TypeMethodDescription(package private) static I2PSnarkServlet.BaseFileValidationResultI2PSnarkServlet.validateBaseFile(String baseData, SnarkManager manager) Validates the base file for torrent creation.Constructors in org.klomp.snark.web with parameters of type SnarkManagerModifierConstructorDescriptionFetchAndAdd(I2PAppContext ctx, SnarkManager mgr, String url, File dataDir) Create the downloader; the caller should call _mgr.addDownloader(this), which starts things off.