Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.klomp.snark.Storage

Packages that use Storage
org.klomp.snark |

Uses of Storage in org.klomp.snark

Fields in org.klomp.snark declared as Storage
`(package private) Storage` | `PeerCoordinator.storage` External use by PeerMonitorTask only.

Methods in org.klomp.snark that return Storage
`Storage` | `PeerCoordinator.getStorage()`
`Storage` | `Snark.getStorage()`

Methods in org.klomp.snark with parameters of type Storage
`void` | `PeerCoordinator.setStorage(Storage stg)` Sets the storage after transition out of magnet mode Snark calls this after we call gotMetaInfo()
`void` | `StorageListener.setWantedPieces(Storage storage)` Reset the peer's wanted pieces table Call after the storage double-check fails
`void` | `Snark.setWantedPieces(Storage storage)`
`void` | `StorageListener.storageAllChecked(Storage storage)` Called when all pieces in the storage have been checked.
`void` | `Snark.storageAllChecked(Storage storage)`
`void` | `StorageListener.storageAllocated(Storage storage, long length)` Called to indicate that length bytes have been allocated.
`void` | `Snark.storageAllocated(Storage storage, long length)`
`void` | `StorageListener.storageChecked(Storage storage, int num, boolean checked)` Called when storage is being checked and the num piece of that total pieces has been checked.
`void` | `Snark.storageChecked(Storage storage, int num, boolean checked)`
`void` | `StorageListener.storageCompleted(Storage storage)` Called the one time when the data is completely received and checked.
`void` | `Snark.storageCompleted(Storage storage)`
`void` | `StorageListener.storageCreateFile(Storage storage, String name, long length)` Called when the storage creates a new file of a given length.
`void` | `Snark.storageCreateFile(Storage storage, String name, long length)`

Constructors in org.klomp.snark with parameters of type Storage
`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)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES