| |
- __builtin__.object
-
- MasterObject
- exceptions.Exception(exceptions.BaseException)
-
- LostConnection
- rox.proxy.Proxy
-
- MasterProxy
- rox.tasks.Blocker
-
- RequestBlocker
class RequestBlocker(rox.tasks.Blocker) |
|
The blocker is triggered when the slave object sends a reply
to our method call. You can then call get() to get the result, eg:
blocker = master.method()
yield blocker
print blocker.result
If the remote method raised an exception, accessing 'isresult' will raise
it rather than returning it. |
|
Methods defined here:
- __init__(self, master, serial)
- add(self, data)
- Store the result and trigger our blocker.
Properties defined here:
- result
- result getter = _error(self)
| |