Changes between Version 20 and Version 21 of archive/Development/UiClient


Ignore:
Timestamp:
02/23/2008 03:23:48 PM (16 years ago)
Author:
mvoncken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • archive/Development/UiClient

    v20 v21  
    6767''Generated from docstrings , do not edit'' 
    6868 
     69'''connect_on_new_core(callback): ''' 
     70 
     71Connect a callback whenever a new core is connected to. 
     72 
     73'''connect_on_no_core(callback): ''' 
     74 
     75Connect a callback whenever the core is disconnected from. 
     76 
     77'''connected(): ''' 
     78 
     79Returns True if connected to a host, and False if not. 
     80 
     81'''force_call(block): ''' 
     82 
     83Forces the multicall batch to go now and not wait for the timer.  This 
     84call also blocks until all callbacks have been dealt with. 
     85 
     86'''get_core_uri(): ''' 
     87 
     88Get the core URI 
     89 
     90'''is_localhost(): ''' 
     91 
     92Returns True if core is a localhost 
     93 
     94'''set_core_uri(uri): ''' 
     95 
     96Sets the core uri 
     97 
     98'''shutdown(): ''' 
     99 
     100Shutdown the core daemon 
     101 
     102= Remote api = 
     103Core methods exposed by aclient and sclient. 
     104 
     105for sclient : ignore [callback] 
     106 
     107for acleint : [callback] is the 1st parameter and refers to a callback method. 
     108 
     109''Generated from docstrings , do not edit'' 
     110 
     111 
     112'''add_torrent_file(torrent_files, torrent_options): ''' 
     113 
     114Adds torrent files to the core 
     115Expects a list of torrent files 
     116A list of torrent_option dictionaries in the same order of torrent_files 
     117 
    69118 
    70119'''add_torrent_file_binary(filename, fdump, options): ''' 
     
    74123Expects fdump as a bytestring (== result of f.read()). 
    75124 
    76 '''connect_on_new_core(callback): ''' 
    77  
    78 Connect a callback whenever a new core is connected to. 
    79  
    80 '''connect_on_no_core(callback): ''' 
    81  
    82 Connect a callback whenever the core is disconnected from. 
    83  
    84 '''connected(): ''' 
    85  
    86 Returns True if connected to a host, and False if not. 
    87  
    88 '''force_call(block): ''' 
    89  
    90 Forces the multicall batch to go now and not wait for the timer.  This 
    91 call also blocks until all callbacks have been dealt with. 
    92  
    93 '''get_core_uri(): ''' 
    94  
    95 Get the core URI 
    96  
    97 '''is_localhost(): ''' 
    98  
    99 Returns True if core is a localhost 
    100  
    101 '''set_core_uri(uri): ''' 
    102  
    103 Sets the core uri 
    104  
    105 '''shutdown(): ''' 
    106  
    107 Shutdown the core daemon 
    108  
    109 = Remote api = 
    110 Core methods exposed by aclient and sclient. 
    111  
    112 for sclient : ignore [callback] 
    113  
    114 for acleint : [callback] is the 1st parameter and refers to a callback method. 
    115  
    116 ''Generated from docstrings , do not edit'' 
    117  
    118  
    119 '''add_torrent_file(torrent_files, torrent_options): ''' 
    120  
    121 Adds torrent files to the core 
    122 Expects a list of torrent files 
    123 A list of torrent_option dictionaries in the same order of torrent_files 
    124125 
    125126'''add_torrent_url(url, save_path, options): ''' 
     
    214215 
    215216A method to see if the core is running 
     217 
    216218 
    217219'''register_client(port): '''