| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Twisted
Revision: 24678
Author: therve
Date: 05 Sep 2008 04:26:51
Diff at Trac: http://twistedmatrix.com/trac/changeset/24678
Changes:Add some docstrings to callRemote.
Files:| ... | ...@@ -391,6 +391,14 @@ | |
| 391 | 391 | self.allowNone = allowNone |
| 392 | 392 | |
| 393 | 393 | def callRemote(self, method, *args): |
| 394 | """ | |
| 395 | Call remote XML-RPC C{method} with given arguments. | |
| 396 | ||
| 397 | @return: a L{defer.Deferred} that will fire with the method response, | |
| 398 | or a failure if the method failed. Generally, the failure type will | |
| 399 | be L{Fault}, but you can also have an C{IndexError} on some buggy | |
| 400 | servers giving empty responses. | |
| 401 | """ | |
| 394 | 402 | factory = self.queryFactory( |
| 395 | 403 | self.path, self.host, method, self.user, |
| 396 | 404 | self.password, self.allowNone, args) |