C# 클래스 DelugeRPC_NET.Core

파일 보기 프로젝트 열기: fuzeman/DelugeRPC.NET 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TorrentFieldMap string>.Dictionary

공개 메소드들

메소드 설명
AddTorrentFile ( string filename, string filedump, object>.Dictionary options, AddTorrentCallback callback ) : void

Adds a torrent file to the session.

AddTorrentFile ( string filename, string filedump, object>.Dictionary options, object state, AddTorrentCallback callback ) : void

Adds a torrent file to the session.

AddTorrentUrl ( string url, object>.Dictionary options, string>.Dictionary headers, AddTorrentCallback callback ) : void

Adds a torrent from a url. Deluge will attempt to fetch the torrent from url prior to adding it to the session.

AddTorrentUrl ( string url, object>.Dictionary options, string>.Dictionary headers, object state, AddTorrentCallback callback ) : void

Adds a torrent from a url. Deluge will attempt to fetch the torrent from url prior to adding it to the session.

Core ( Factory factory ) : System
GetLibTorrentVersion ( GetLibTorrentVersionCallback callback ) : void

Returns the libtorrent version.

GetLibTorrentVersion ( object state, GetLibTorrentVersionCallback callback ) : void

Returns the libtorrent version.

GetSessionState ( GetSessionStateCallback callback ) : void

Returns a list of torrent_ids in the session.

GetSessionState ( object state, GetSessionStateCallback callback ) : void

Returns a list of torrent_ids in the session.

GetTorrentsStatus ( object>.Dictionary filter, List keys, GetTorrentsStatusCallback callback ) : void

Returns all torrents, optionally filtered by 'filter'.

GetTorrentsStatus ( object>.Dictionary filter, List keys, object state, GetTorrentsStatusCallback callback ) : void

Returns all torrents, optionally filtered by 'filter'.

GetTorrentsStatus ( object>.Dictionary filter, TorrentFields fields, GetTorrentsStatusCallback callback ) : void

Returns all torrents, optionally filtered by 'filter'.

GetTorrentsStatus ( object>.Dictionary filter, TorrentFields fields, object state, GetTorrentsStatusCallback callback ) : void

Returns all torrents, optionally filtered by 'filter'.

비공개 메소드들

메소드 설명
_AddTorrentFileCallback ( object result, object states ) : void
_AddTorrentUrlCallback ( object result, object state ) : void
_GetLibTorrentVersionCallback ( object result, object states ) : void
_GetSessionStateCallback ( object result, object states ) : void
_GetTorrentsStatusCallback ( object result, object states ) : void

메소드 상세

AddTorrentFile() 공개 메소드

Adds a torrent file to the session.
public AddTorrentFile ( string filename, string filedump, object>.Dictionary options, AddTorrentCallback callback ) : void
filename string /// The filename of the torrent ///
filedump string /// Base 64 encoded string of the torrent file contents. ///
options object>.Dictionary /// Options to apply to the torrent on add ///
callback AddTorrentCallback /// Method Callback (string torrent_id) ///
리턴 void

AddTorrentFile() 공개 메소드

Adds a torrent file to the session.
public AddTorrentFile ( string filename, string filedump, object>.Dictionary options, object state, AddTorrentCallback callback ) : void
filename string /// The filename of the torrent ///
filedump string /// Base 64 encoded string of the torrent file contents. ///
options object>.Dictionary /// Options to apply to the torrent on add ///
state object
callback AddTorrentCallback /// Method Callback (string torrent_id) ///
리턴 void

AddTorrentUrl() 공개 메소드

Adds a torrent from a url. Deluge will attempt to fetch the torrent from url prior to adding it to the session.
public AddTorrentUrl ( string url, object>.Dictionary options, string>.Dictionary headers, AddTorrentCallback callback ) : void
url string /// the url pointing to the torrent file ///
options object>.Dictionary /// the options to apply to the torrent on add ///
headers string>.Dictionary /// any optional headers to send ///
callback AddTorrentCallback /// Callback. ///
리턴 void

AddTorrentUrl() 공개 메소드

Adds a torrent from a url. Deluge will attempt to fetch the torrent from url prior to adding it to the session.
public AddTorrentUrl ( string url, object>.Dictionary options, string>.Dictionary headers, object state, AddTorrentCallback callback ) : void
url string /// the url pointing to the torrent file ///
options object>.Dictionary /// the options to apply to the torrent on add ///
headers string>.Dictionary /// any optional headers to send ///
state object
callback AddTorrentCallback /// Callback. ///
리턴 void

Core() 공개 메소드

public Core ( Factory factory ) : System
factory Factory
리턴 System

GetLibTorrentVersion() 공개 메소드

Returns the libtorrent version.
public GetLibTorrentVersion ( GetLibTorrentVersionCallback callback ) : void
callback GetLibTorrentVersionCallback /// Method Callback (string verison) ///
리턴 void

GetLibTorrentVersion() 공개 메소드

Returns the libtorrent version.
public GetLibTorrentVersion ( object state, GetLibTorrentVersionCallback callback ) : void
state object
callback GetLibTorrentVersionCallback /// Method Callback (string verison) ///
리턴 void

GetSessionState() 공개 메소드

Returns a list of torrent_ids in the session.
public GetSessionState ( GetSessionStateCallback callback ) : void
callback GetSessionStateCallback /// Method Callback (string[] session_torrent_ids) ///
리턴 void

GetSessionState() 공개 메소드

Returns a list of torrent_ids in the session.
public GetSessionState ( object state, GetSessionStateCallback callback ) : void
state object
callback GetSessionStateCallback /// Method Callback (string[] session_torrent_ids) ///
리턴 void

GetTorrentsStatus() 공개 메소드

Returns all torrents, optionally filtered by 'filter'.
public GetTorrentsStatus ( object>.Dictionary filter, List keys, GetTorrentsStatusCallback callback ) : void
filter object>.Dictionary /// Torrent Filter. ///
keys List /// Fields to return by key. ///
callback GetTorrentsStatusCallback /// Method Callback (Dictionary(string, object) torrents) ///
리턴 void

GetTorrentsStatus() 공개 메소드

Returns all torrents, optionally filtered by 'filter'.
public GetTorrentsStatus ( object>.Dictionary filter, List keys, object state, GetTorrentsStatusCallback callback ) : void
filter object>.Dictionary /// Torrent Filter. ///
keys List /// Fields to return by key. ///
state object
callback GetTorrentsStatusCallback /// Method Callback (Dictionary(string, object) torrents) ///
리턴 void

GetTorrentsStatus() 공개 메소드

Returns all torrents, optionally filtered by 'filter'.
public GetTorrentsStatus ( object>.Dictionary filter, TorrentFields fields, GetTorrentsStatusCallback callback ) : void
filter object>.Dictionary /// Torrent Filter. ///
fields TorrentFields /// Fields to return by TorrentField. ///
callback GetTorrentsStatusCallback /// Method Callback (Dictionary(string, object) torrents) ///
리턴 void

GetTorrentsStatus() 공개 메소드

Returns all torrents, optionally filtered by 'filter'.
public GetTorrentsStatus ( object>.Dictionary filter, TorrentFields fields, object state, GetTorrentsStatusCallback callback ) : void
filter object>.Dictionary /// Torrent Filter. ///
fields TorrentFields /// Fields to return by TorrentField. ///
state object
callback GetTorrentsStatusCallback /// Method Callback (Dictionary(string, object) torrents) ///
리턴 void

프로퍼티 상세

TorrentFieldMap 공개적으로 정적으로 프로퍼티

public static Dictionary TorrentFieldMap
리턴 string>.Dictionary