Uses of Class
org.klomp.snark.I2PSnarkUtil
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 I2PSnarkUtil in org.klomp.snark
Fields in org.klomp.snark declared as I2PSnarkUtil Modifier and Type Field Description protected I2PSnarkUtil
Snark. _util
Methods in org.klomp.snark that return I2PSnarkUtil Modifier and Type Method Description I2PSnarkUtil
PeerCoordinator. getUtil()
ConvenienceI2PSnarkUtil
PeerListener. getUtil()
ConvenienceI2PSnarkUtil
SnarkManager. util()
hook to I2PSnarkUtil for the servletMethods in org.klomp.snark with parameters of type I2PSnarkUtil Modifier and Type Method Description void
Peer. runConnection(I2PSnarkUtil util, PeerListener listener, BitField bitfield, MagnetState mState, boolean uploadOnly)
Runs the connection to the other peer.void
WebPeer. runConnection(I2PSnarkUtil util, PeerListener listener, BitField ignore, MagnetState mState, boolean uploadOnly)
Runs the connection to the other peer.Constructors in org.klomp.snark with parameters of type I2PSnarkUtil Constructor Description ConnectionAcceptor(I2PSnarkUtil util, PeerAcceptor peeracceptor)
Unused (single torrent).ConnectionAcceptor(I2PSnarkUtil util, PeerCoordinatorSet set)
Multitorrent.MagnetURI(I2PSnarkUtil util, String url)
PeerCheckerTask(I2PSnarkUtil util, PeerCoordinator coordinator)
PeerCoordinator(I2PSnarkUtil util, byte[] id, byte[] infohash, MetaInfo metainfo, Storage storage, CoordinatorListener listener, Snark torrent)
PeerID(byte[] dest_hash, I2PSnarkUtil util)
Creates a PeerID from a destHashSnark(I2PSnarkUtil util, String torrent, byte[] ih, String trackerURL, CompleteListener complistener, PeerCoordinatorSet peerCoordinatorSet, ConnectionAcceptor connectionAcceptor, boolean ignored, String rootDir)
multitorrent, magnet, Used by snark-rpc plugin Will not start itself.Snark(I2PSnarkUtil util, String torrent, byte[] ih, String trackerURL, CompleteListener complistener, PeerCoordinatorSet peerCoordinatorSet, ConnectionAcceptor connectionAcceptor, String rootDir)
multitorrent, magnet Will not start itself.Snark(I2PSnarkUtil util, String torrent, String ip, int user_port, StorageListener slistener, CoordinatorListener clistener, CompleteListener complistener, PeerCoordinatorSet peerCoordinatorSet, ConnectionAcceptor connectionAcceptor, String rootDir)
Deprecated.Snark(I2PSnarkUtil util, String torrent, String ip, int user_port, StorageListener slistener, CoordinatorListener clistener, CompleteListener complistener, PeerCoordinatorSet peerCoordinatorSet, ConnectionAcceptor connectionAcceptor, String rootDir, File baseFile)
multitorrent Will not start itself.Storage(I2PSnarkUtil util, File baseFile, String announce, List<List<String>> announce_list, String created_by, boolean privateTorrent, List<String> url_list, String comment, StorageListener listener)
Creates a storage from the existing file or directory.Storage(I2PSnarkUtil util, File baseFile, String announce, List<List<String>> announce_list, String created_by, boolean privateTorrent, StorageListener listener)
Creates a storage from the existing file or directory.Storage(I2PSnarkUtil util, File baseFile, MetaInfo metainfo, StorageListener listener, boolean preserveFileNames)
Creates a new storage based on the supplied MetaInfo.TrackerClient(I2PSnarkUtil util, MetaInfo meta, String additionalTrackerURL, PeerCoordinator coordinator, Snark snark)
Call start() to start it.TrackerInfo(InputStream in, byte[] my_id, byte[] infohash, MetaInfo metainfo, I2PSnarkUtil util)