| 57 | = Client Methods = |
| 58 | |
| 59 | ''Non-Core methods on client/aclient'' |
| 60 | |
| 61 | '''connect_on_new_core(callback): ''' |
| 62 | |
| 63 | Connect a callback whenever a new core is connected to. |
| 64 | |
| 65 | '''connect_on_no_core(callback): ''' |
| 66 | |
| 67 | Connect a callback whenever the core is disconnected from. |
| 68 | |
| 69 | '''connected(): ''' |
| 70 | |
| 71 | Returns True if connected to a host, and False if not. |
| 72 | |
| 73 | '''force_call(block): ''' |
| 74 | |
| 75 | Forces the multicall batch to go now and not wait for the timer. This |
| 76 | call also blocks until all callbacks have been dealt with. |
| 77 | |
| 78 | '''get_core_uri(): ''' |
| 79 | |
| 80 | Get the core URI |
| 81 | |
| 82 | '''is_localhost(): ''' |
| 83 | |
| 84 | Returns True if core is a localhost |
| 85 | |
| 86 | '''set_core_uri(uri): ''' |
| 87 | |
| 88 | Sets the core uri |
| 89 | |
| 90 | '''shutdown(): ''' |
| 91 | |
| 92 | Shutdown the core daemon |
| 93 | |
| 94 | |
221 | | |
222 | | '''shutdown([callback]): ''' |
223 | | |
224 | | Shutdown the core daemon |
225 | | |
226 | | = Client Methods = |
227 | | |
228 | | ''Non-Core methods on client/aclient'' |
229 | | |
230 | | '''connect_on_new_core(callback): ''' |
231 | | |
232 | | Connect a callback whenever a new core is connected to. |
233 | | |
234 | | '''connect_on_no_core(callback): ''' |
235 | | |
236 | | Connect a callback whenever the core is disconnected from. |
237 | | |
238 | | '''connected(): ''' |
239 | | |
240 | | Returns True if connected to a host, and False if not. |
241 | | |
242 | | '''force_call(block): ''' |
243 | | |
244 | | Forces the multicall batch to go now and not wait for the timer. This |
245 | | call also blocks until all callbacks have been dealt with. |
246 | | |
247 | | '''get_core_uri(): ''' |
248 | | |
249 | | Get the core URI |
250 | | |
251 | | '''is_localhost(): ''' |
252 | | |
253 | | Returns True if core is a localhost |
254 | | |
255 | | '''set_core_uri(uri): ''' |
256 | | |
257 | | Sets the core uri |
258 | | |
259 | | '''shutdown(): ''' |
260 | | |
261 | | Shutdown the core daemon |