|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MetaInfo | |
---|---|
org.klomp.snark |
Uses of MetaInfo in org.klomp.snark |
---|
Fields in org.klomp.snark declared as MetaInfo | |
---|---|
(package private) MetaInfo |
PeerCoordinator.metainfo
External use by PeerMonitorTask only. |
Methods in org.klomp.snark that return MetaInfo | |
---|---|
MetaInfo |
MagnetState.buildMetaInfo()
|
MetaInfo |
Snark.getMetaInfo()
|
MetaInfo |
Storage.getMetaInfo()
Returns the MetaInfo associated with this Storage. |
MetaInfo |
MagnetState.getMetaInfo()
|
MetaInfo |
PeerCoordinator.getMetaInfo()
|
MetaInfo |
MetaInfo.reannounce(String announce)
Creates a copy of this MetaInfo that shares everything except the announce URL. |
Methods in org.klomp.snark with parameters of type MetaInfo | |
---|---|
void |
SnarkManager.addTorrent(MetaInfo metainfo,
BitField bitfield,
String filename,
boolean dontAutoStart)
Add a torrent from a MetaInfo. |
void |
Snark.gotMetaInfo(PeerCoordinator coordinator,
MetaInfo metainfo)
Called when the PeerCoordinator got the MetaInfo via magnet. |
void |
CoordinatorListener.gotMetaInfo(PeerCoordinator coordinator,
MetaInfo metainfo)
Called when the PeerCoordinator got the MetaInfo via magnet. |
void |
SnarkManager.removeTorrentStatus(MetaInfo metainfo)
Remove the status of a torrent from the config file. |
void |
SnarkManager.saveTorrentStatus(MetaInfo metainfo,
BitField bitfield,
int[] priorities)
Save the completion status of a torrent and the current time in the config file in the form "i2psnark.zmeta.$base64infohash=$time,$base64bitfield". |
void |
Peer.setMetaInfo(MetaInfo meta)
Switch from magnet mode to normal mode |
void |
PeerState.setMetaInfo(MetaInfo meta)
Switch from magnet mode to normal mode. |
void |
MagnetState.setMetaInfo(MetaInfo meta)
Call this for a new magnet when the download is complete. |
Constructors in org.klomp.snark with parameters of type MetaInfo | |
---|---|
MagnetState(byte[] iHash,
MetaInfo meta)
|
|
Peer(I2PSocket sock,
InputStream in,
OutputStream out,
byte[] my_id,
byte[] infohash,
MetaInfo metainfo)
Incoming connection. |
|
Peer(PeerID peerID,
byte[] my_id,
byte[] infohash,
MetaInfo metainfo)
Outgoing connection. |
|
PeerCoordinator(I2PSnarkUtil util,
byte[] id,
byte[] infohash,
MetaInfo metainfo,
Storage storage,
CoordinatorListener listener,
Snark torrent)
|
|
PeerState(Peer peer,
PeerListener listener,
MetaInfo metainfo,
PeerConnectionIn in,
PeerConnectionOut out)
|
|
Storage(I2PSnarkUtil util,
MetaInfo metainfo,
StorageListener listener)
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |