FileDocCategorySizeDatePackage
TorrentStop.javaAPI DocAzureus 3.0.3.41749Tue Dec 21 00:19:32 GMT 2004org.gudy.azureus2.ui.console.commands

TorrentStop

public class TorrentStop extends TorrentCommand
console command to stop a torrent. extracted from the Torrent class written by tobias

Fields Summary
Constructors Summary
public TorrentStop()

param
args
param
action

		super(new String[] {"stop", "h"}, "Stopping");
	
Methods Summary
public java.lang.StringgetCommandDescriptions()

		return("stop (<torrentoptions>)\t\th\tStop torrent(s).");
	
protected booleanperformCommand(org.gudy.azureus2.ui.console.ConsoleInput ci, org.gudy.azureus2.core3.download.DownloadManager dm, java.util.List args)

		try {
			dm.stopIt( DownloadManager.STATE_STOPPED, false, false );
		} catch (Exception e) {
			e.printStackTrace(ci.out);
			return false;
		}
		return true;