using System; using System.Collections.Generic; using System.Threading.Tasks; using RdtClient.Data.Models.Data; using RdtClient.Data.Models.TorrentClient; namespace RdtClient.Service.Services.TorrentClients { public interface ITorrentClient { Task> GetTorrents(); Task GetUser(); Task AddMagnet(String magnetLink); Task AddFile(Byte[] bytes); Task> GetAvailableFiles(String hash); Task SelectFiles(Torrent torrent); Task GetInfo(String torrentId); Task Delete(String torrentId); Task Unrestrict(String link); Task UpdateData(Torrent torrent, TorrentClientTorrent torrentClientTorrent); Task> GetDownloadLinks(Torrent torrent); } }