C# Class CodeRinseRepeat.Deluge.DelugeClient

Show file Open project: bojanrajkovic/libdelugeclient-sharp Class Usage Examples

Public Methods

Method Description
DelugeClient ( Uri serviceUri ) : System
DelugeClient ( string uri, int port ) : System
DoServiceCall ( string method ) : object>.Dictionary
GetAvailablePlugins ( ) : IEnumerable
GetAvailablePluginsAsync ( Action callback ) : void
GetTorrentStatus ( Torrent t ) : Torrent
GetTorrentStatus ( Torrent t, string fields ) : Torrent
GetTorrents ( ) : IEnumerable
GetTorrentsAsync ( Action callback ) : void
ListMethods ( ) : IEnumerable
ListMethodsAsync ( Action callback ) : void
Login ( string password ) : bool
LoginAsync ( string password, Action callback ) : void
RescanPlugins ( ) : void
RescanPluginsAsync ( ) : void

Private Methods

Method Description
DoServiceCallAsync ( string method, object>.Action callback ) : void

Method Details

DelugeClient() public method

public DelugeClient ( Uri serviceUri ) : System
serviceUri System.Uri
return System

DelugeClient() public method

public DelugeClient ( string uri, int port ) : System
uri string
port int
return System

DoServiceCall() public method

public DoServiceCall ( string method ) : object>.Dictionary
method string
return object>.Dictionary

GetAvailablePlugins() public method

public GetAvailablePlugins ( ) : IEnumerable
return IEnumerable

GetAvailablePluginsAsync() public method

public GetAvailablePluginsAsync ( Action callback ) : void
callback Action
return void

GetTorrentStatus() public method

public GetTorrentStatus ( Torrent t ) : Torrent
t Torrent
return Torrent

GetTorrentStatus() public method

public GetTorrentStatus ( Torrent t, string fields ) : Torrent
t Torrent
fields string
return Torrent

GetTorrents() public method

public GetTorrents ( ) : IEnumerable
return IEnumerable

GetTorrentsAsync() public method

public GetTorrentsAsync ( Action callback ) : void
callback Action
return void

ListMethods() public method

public ListMethods ( ) : IEnumerable
return IEnumerable

ListMethodsAsync() public method

public ListMethodsAsync ( Action callback ) : void
callback Action
return void

Login() public method

public Login ( string password ) : bool
password string
return bool

LoginAsync() public method

public LoginAsync ( string password, Action callback ) : void
password string
callback Action
return void

RescanPlugins() public method

public RescanPlugins ( ) : void
return void

RescanPluginsAsync() public method

public RescanPluginsAsync ( ) : void
return void