public RssPlugin(IBitTorrentEngine torrentEngine, IDataRepository dataRepository, ITimerFactory timerFactory, IWebClient webClient) { _torrentEngine = torrentEngine; _dataRepository = dataRepository; _timer = timerFactory.CreateTimer(); _webClient = webClient; }
public DefaultHost(IDataRepository data, IBitTorrentEngine torrentEngine, IMigrationRunner runner, IPluginEngine pluginEngine, IHttpServer httpServer) { _data = data; _torrentEngine = torrentEngine; _migratorRunner = runner; _pluginEngine = pluginEngine; _httpServer = httpServer; AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); }
public AutoAddPlugin(IKeyValueStore keyValueStore, IDataRepository dataRepository, IBitTorrentEngine bitTorrentEngine, IFileSystem fileSystem, ITimerFactory timerFactory) { _keyValueStore = keyValueStore; _dataRepository = dataRepository; _bitTorrentEngine = bitTorrentEngine; _fileSystem = fileSystem; _timerFactory = timerFactory; }
public GetPeers(IBitTorrentEngine torrentEngine) { this._torrentEngine = torrentEngine; }
public StopTorrent(IBitTorrentEngine torrentEngine) { _torrentEngine = torrentEngine; }
public GetTorrentFiles(IBitTorrentEngine torrentEngine) { _torrentEngine = torrentEngine; }
public AddUrl(IBitTorrentEngine torrentEngine) { _torrentEngine = torrentEngine; }
public SetProperties(IBitTorrentEngine torrentEngine) { _torrentEngine = torrentEngine; }
public AddFile(IBitTorrentEngine torrentEngine) { _torrentEngine = torrentEngine; }
public RemoveTorrent(IBitTorrentEngine torrentEngine) { _torrentEngine = torrentEngine; }
public PauseTorrent(IBitTorrentEngine torrentEngine) { _torrentEngine = torrentEngine; }