パッケージ | 説明 |
---|---|
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.
|
修飾子とタイプ | フィールド | 説明 |
---|---|---|
(package private) MetaInfo |
PeerCoordinator.metainfo |
External use by PeerMonitorTask only.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
MetaInfo |
MagnetState.getMetaInfo() |
|
MetaInfo |
PeerCoordinator.getMetaInfo() |
|
MetaInfo |
Snark.getMetaInfo() |
|
MetaInfo |
Storage.getMetaInfo() |
Returns the MetaInfo associated with this Storage.
|
MetaInfo |
MetaInfo.reannounce(java.lang.String announce) |
Creates a copy of this MetaInfo that shares everything except the
announce URL.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
boolean |
SnarkManager.addTorrent(MetaInfo metainfo,
BitField bitfield,
java.lang.String filename,
java.io.File baseFile,
boolean dontAutoStart) |
Add a torrent from a MetaInfo.
|
void |
CoordinatorListener.gotMetaInfo(PeerCoordinator coordinator,
MetaInfo metainfo) |
Called when the PeerCoordinator got the MetaInfo via magnet.
|
void |
Snark.gotMetaInfo(PeerCoordinator coordinator,
MetaInfo metainfo) |
Called when the PeerCoordinator got the MetaInfo via magnet.
|
void |
MagnetState.setMetaInfo(MetaInfo meta) |
Call this for a new magnet when the download is complete.
|
void |
Peer.setMetaInfo(MetaInfo meta) |
Switch from magnet mode to normal mode
|
void |
PeerState.setMetaInfo(MetaInfo meta) |
Switch from magnet mode to normal mode.
|
コンストラクタ | 説明 |
---|---|
MagnetState(byte[] iHash,
MetaInfo meta) |
|
Peer(I2PSocket sock,
java.io.InputStream in,
java.io.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,
java.io.File baseFile,
MetaInfo metainfo,
StorageListener listener,
boolean preserveFileNames) |
Creates a new storage based on the supplied MetaInfo.
|
TrackerClient(I2PSnarkUtil util,
MetaInfo meta,
java.lang.String additionalTrackerURL,
PeerCoordinator coordinator,
Snark snark) |
Call start() to start it.
|
TrackerInfo(java.io.InputStream in,
byte[] my_id,
byte[] infohash,
MetaInfo metainfo,
I2PSnarkUtil util) |