Uses of Class
org.klomp.snark.Storage
-
Packages that use Storage 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.org.klomp.snark.web The i2psnark user interface, implemented as a webapp in i2psnark.war. -
-
Uses of Storage in org.klomp.snark
Fields in org.klomp.snark declared as Storage Modifier and Type Field Description (package private) StoragePeerCoordinator. storageExternal use by PeerMonitorTask only.Methods in org.klomp.snark that return Storage Modifier and Type Method Description StoragePeerCoordinator. getStorage()StorageSnark. getStorage()Methods in org.klomp.snark with parameters of type Storage Modifier and Type Method Description voidPeerCoordinator. setStorage(Storage stg)Sets the storage after transition out of magnet mode Snark calls this after we call gotMetaInfo()voidSnark. setWantedPieces(Storage storage)voidStorageListener. setWantedPieces(Storage storage)Reset the peer's wanted pieces table Call after the storage double-check failsvoidSnark. storageAllChecked(Storage storage)voidStorageListener. storageAllChecked(Storage storage)Called when all pieces in the storage have been checked.voidSnark. storageAllocated(Storage storage, long length)does nothingvoidStorageListener. storageAllocated(Storage storage, long length)Called to indicate that length bytes have been allocated.voidSnark. storageChecked(Storage storage, int num, boolean checked)voidStorageListener. storageChecked(Storage storage, int num, boolean checked)Called when storage is being checked and the num piece of that total pieces has been checked.voidSnark. storageCompleted(Storage storage)voidStorageListener. storageCompleted(Storage storage)Called the one time when the data is completely received and checked.voidSnark. storageCreateFile(Storage storage, String name, long length)does nothingvoidStorageListener. storageCreateFile(Storage storage, String name, long length)Called when the storage creates a new file of a given length.Constructors in org.klomp.snark with parameters of type Storage Constructor Description PeerCoordinator(I2PSnarkUtil util, byte[] id, byte[] infohash, MetaInfo metainfo, Storage storage, CoordinatorListener listener, Snark torrent)SnarkShutdown(Storage storage, PeerCoordinator coordinator, ConnectionAcceptor acceptor, TrackerClient trackerclient, ShutdownListener listener)Deprecated. -
Uses of Storage in org.klomp.snark.web
Constructors in org.klomp.snark.web with parameters of type Storage Constructor Description FileAndIndex(File file, Storage storage, long[] remainingArray)FileAndIndex(File file, Storage storage, long[] remainingArray, long[] previewArray)
-