C# Class Jackett.Services.ServerService

Inheritance: IServerService
Exibir arquivo Open project: Jackett/Jackett

Public Methods

Method Description
BasePath ( ) : string
ConvertToProxyLink ( Uri link, string serverUrl, string indexerId, string action = "dl", string file = "t.torrent" ) : Uri
Initalize ( ) : void
ReserveUrls ( bool doInstall = true ) : void
SaveConfig ( ) : void
ServerService ( IIndexerManagerService i, IProcessService p, ISerializeService s, IConfigurationService c, Logger l, IWebClient w, IUpdateService u ) : Autofac
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
LoadConfig ( ) : void
RunNetSh ( string args ) : void

Method Details

BasePath() public method

public BasePath ( ) : string
return string

ConvertToProxyLink() public method

public ConvertToProxyLink ( Uri link, string serverUrl, string indexerId, string action = "dl", string file = "t.torrent" ) : Uri
link System.Uri
serverUrl string
indexerId string
action string
file string
return System.Uri

Initalize() public method

public Initalize ( ) : void
return void

ReserveUrls() public method

public ReserveUrls ( bool doInstall = true ) : void
doInstall bool
return void

SaveConfig() public method

public SaveConfig ( ) : void
return void

ServerService() public method

public ServerService ( IIndexerManagerService i, IProcessService p, ISerializeService s, IConfigurationService c, Logger l, IWebClient w, IUpdateService u ) : Autofac
i IIndexerManagerService
p IProcessService
s ISerializeService
c IConfigurationService
l Logger
w Jackett.Utils.Clients.IWebClient
u IUpdateService
return Autofac

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void