Changes between Version 10 and Version 11 of archive/Development/UiClient


Ignore:
Timestamp:
02/23/2008 10:01:00 AM (16 years ago)
Author:
mvoncken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • archive/Development/UiClient

    v10 v11  
    88It is used by all deluge user interfaces. 
    99 
    10 == sclient == 
     10= sclient = 
    1111The synchronous api. 
    1212 
     
    2121}}} 
    2222 
    23 == aclient == 
     23= aclient = 
    2424The asynchronous api. 
    2525 
     
    107107''Generated from docstrings , do not edit'' 
    108108 
    109 '''add_torrent_file(torrent_files ,torrent_options): ''' 
     109 
     110'''add_torrent_file(torrent_files, torrent_options): ''' 
    110111 
    111112Adds torrent files to the core 
     
    113114A list of torrent_option dictionaries in the same order of torrent_files 
    114115 
    115 '''add_torrent_url(url ,save_path ,options): ''' 
     116'''add_torrent_url(url, save_path, options): ''' 
    116117 
    117118 
     
    149150Get all the preferences as a dictionary 
    150151 
    151 '''get_config_value([callback] ,key): ''' 
     152'''get_config_value([callback], key): ''' 
    152153 
    153154Get the config value for key 
     
    177178Returns a list of torrent_ids in the session. 
    178179 
    179 '''get_torrent_status([callback] ,torrent_id ,keys): ''' 
    180  
    181  
    182  
    183 '''get_torrents_status([callback] ,torrent_ids ,keys): ''' 
     180'''get_torrent_status([callback], torrent_id, keys): ''' 
     181 
     182 
     183 
     184'''get_torrents_status([callback], torrent_ids, keys): ''' 
    184185 
    185186 
     
    189190Returns the payload upload rate 
    190191 
    191 '''move_torrent(torrent_ids ,dest): ''' 
     192'''move_torrent(torrent_ids, dest): ''' 
    192193 
    193194 
     
    210211sent to it. 
    211212 
    212 '''remove_torrent(torrent_ids ,remove_torrent ,remove_data): ''' 
     213'''remove_torrent(torrent_ids, remove_torrent, remove_data): ''' 
    213214 
    214215 
     
    234235Set the config with values from dictionary 
    235236 
    236 '''set_torrent_file_priorities(torrent_id ,priorities): ''' 
     237'''set_torrent_file_priorities(torrent_id, priorities): ''' 
    237238 
    238239Sets a torrents file priorities 
    239240 
    240 '''set_torrent_max_connections(torrent_id ,value): ''' 
     241'''set_torrent_max_connections(torrent_id, value): ''' 
    241242 
    242243Sets a torrents max number of connections 
    243244 
    244 '''set_torrent_max_download_speed(torrent_id ,value): ''' 
     245'''set_torrent_max_download_speed(torrent_id, value): ''' 
    245246 
    246247Sets a torrents max download speed 
    247248 
    248 '''set_torrent_max_upload_slots(torrent_id ,value): ''' 
     249'''set_torrent_max_upload_slots(torrent_id, value): ''' 
    249250 
    250251Sets a torrents max number of upload slots 
    251252 
    252 '''set_torrent_max_upload_speed(torrent_id ,value): ''' 
    253  
     253'''set_torrent_max_upload_speed(torrent_id, value): ''' 
    254254 
    255255Sets a torrents max upload speed 
    256256 
    257 '''set_torrent_private_flag(torrent_id ,value): ''' 
     257'''set_torrent_private_flag(torrent_id, value): ''' 
    258258 
    259259Sets a torrents private flag 
    260260 
    261 '''set_torrent_trackers(torrent_id ,trackers): ''' 
     261'''set_torrent_trackers(torrent_id, trackers): ''' 
    262262 
    263263Sets a torrents tracker list.  trackers will be [{"url", "tier"}]