Tasks #525
Python client example is broken for 0.4
Status: | Resolved | Start date: | 08/29/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | J. Moringen | % Done: | 100% | |
Category: | Python | |||
Target version: | 0.4 |
Description
there is no timeout argument.
Associated revisions
Fixed missing timeout parameter in DataFuture in rsb/patterns/future.py
fixes #525
fixes #525
- rsb/patterns/future.py: in Future.get, only raise the TimeoutError,
if the result did arrive in the meantime; added timeout keyword
parameter to DataFutre.get - examples/client.py: demonstrate synchronous and asynchronous method
calls separately; use a timeout in the asynchronous case; changed
name of called method to "echo" which is more appropriate - examples/server.py: use different method names in differently
constructed servers; added some comments explaining the different
kinds of server construction methods
History
#1 Updated by J. Moringen over 12 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2460.