Packages that use MagnetState
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 MagnetState in org.klomp.snark
Fields in org.klomp.snark declared as MagnetStateModifier and TypeFieldDescription(package private) MagnetStatePeer.magnetStateShared across all peers on this torrent.private final MagnetStatePeerCoordinator.magnetStateMagnet fetch state, null for a normal torrent.Methods in org.klomp.snark that return MagnetStateModifier and TypeMethodDescriptionPeer.getMagnetState()Returns the shared magnet state across all peers on this torrent.Methods in org.klomp.snark with parameters of type MagnetStateModifier and TypeMethodDescriptionvoidPeer.runConnection(I2PSnarkUtil util, PeerListener listener, BandwidthListener bwl, BitField bitfield, MagnetState mState, boolean uploadOnly) Runs the connection to the other peer.voidWebPeer.runConnection(I2PSnarkUtil util, PeerListener listener, BandwidthListener bwl, BitField ignore, MagnetState mState, boolean uploadOnly) Runs the connection to the other peer.