void |
SnarkManager.addDownloader(Snark torrent) |
Add and start a FetchAndAdd task.
|
void |
CompleteListener.addMessage(Snark snark,
String message) |
|
void |
SnarkManager.addMessage(Snark snark,
String message) |
A Snark.CompleteListener method.
|
void |
UpdateRunner.addMessage(Snark snark,
String message) |
|
void |
SnarkManager.deleteMagnet(Snark snark) |
Stop and delete a torrent running in magnet mode
|
void |
CompleteListener.fatal(Snark snark,
String error) |
|
void |
SnarkManager.fatal(Snark snark,
String error) |
A Snark.CompleteListener method.
|
void |
UpdateRunner.fatal(Snark snark,
String error) |
|
long[] |
SnarkManager.getSavedAddedAndCompleted(Snark snark) |
Get setting for a torrent from the config file.
|
CommentSet |
CompleteListener.getSavedComments(Snark snark) |
|
CommentSet |
SnarkManager.getSavedComments(Snark snark) |
The conmments for a torrent
|
CommentSet |
UpdateRunner.getSavedComments(Snark snark) |
|
boolean |
SnarkManager.getSavedCommentsEnabled(Snark snark) |
Get setting for comments enabled from the config file.
|
boolean |
CompleteListener.getSavedPreserveNamesSetting(Snark snark) |
|
boolean |
SnarkManager.getSavedPreserveNamesSetting(Snark snark) |
Get setting for a torrent from the config file.
|
boolean |
UpdateRunner.getSavedPreserveNamesSetting(Snark snark) |
|
BitField |
CompleteListener.getSavedTorrentBitField(Snark snark) |
|
BitField |
SnarkManager.getSavedTorrentBitField(Snark snark) |
Get the saved bitfield for a torrent from the config file.
|
BitField |
UpdateRunner.getSavedTorrentBitField(Snark snark) |
|
long |
CompleteListener.getSavedTorrentTime(Snark snark) |
not really listeners but the easiest way to get back to an optional SnarkManager
|
long |
SnarkManager.getSavedTorrentTime(Snark snark) |
Get the timestamp for a torrent from the config file.
|
long |
UpdateRunner.getSavedTorrentTime(Snark snark) |
|
long |
CompleteListener.getSavedUploaded(Snark snark) |
|
long |
SnarkManager.getSavedUploaded(Snark snark) |
Get setting for a torrent from the config file.
|
long |
UpdateRunner.getSavedUploaded(Snark snark) |
|
String |
CompleteListener.gotMetaInfo(Snark snark) |
We transitioned from magnet mode, we have now initialized our
metainfo and storage.
|
String |
SnarkManager.gotMetaInfo(Snark snark) |
We transitioned from magnet mode, we have now initialized our
metainfo and storage.
|
String |
UpdateRunner.gotMetaInfo(Snark snark) |
|
void |
CompleteListener.gotPiece(Snark snark) |
|
void |
SnarkManager.gotPiece(Snark snark) |
A Snark.CompleteListener method.
|
void |
UpdateRunner.gotPiece(Snark snark) |
|
void |
SnarkManager.loadSavedFilePriorities(Snark snark) |
Get the saved priorities for a torrent from the config file.
|
void |
CompleteListener.locked_saveComments(Snark snark,
CommentSet comments) |
|
void |
SnarkManager.locked_saveComments(Snark snark,
CommentSet comments) |
Save the conmments for a torrent
Caller must synchronize on comments.
|
void |
UpdateRunner.locked_saveComments(Snark snark,
CommentSet comments) |
|
void |
SnarkManager.recheckTorrent(Snark snark) |
Threaded.
|
void |
SnarkManager.saveTorrentStatus(Snark snark) |
Save the completion status of a torrent and other data in the config file
for that torrent.
|
void |
SnarkManager.setSavedCommentsEnabled(Snark snark,
boolean yes) |
Set setting for comments enabled in the config file.
|
void |
SnarkManager.startTorrent(Snark snark) |
If not connected, thread it, otherwise inline
|
void |
SnarkManager.stopTorrent(Snark torrent,
boolean shouldRemove) |
Stop the torrent, leaving it on the list of torrents unless told to remove it.
|
void |
CompleteListener.torrentComplete(Snark snark) |
|
void |
SnarkManager.torrentComplete(Snark snark) |
A Snark.CompleteListener method.
|
void |
UpdateRunner.torrentComplete(Snark snark) |
|
void |
CompleteListener.updateStatus(Snark snark) |
|
void |
SnarkManager.updateStatus(Snark snark) |
A Snark.CompleteListener method.
|
void |
UpdateRunner.updateStatus(Snark snark) |
This is called by stopTorrent() among others
|