tubes.listening.Listener(object) class documentationtubes.listening
(View In Hierarchy)
Implements interfaces: tubes.itube.IDrain
| Method | __init__ | |
| Method | flowingFrom | The flow has begun from the given fount of Flows. |
| Method | receive | Receive the given flow, applying backpressure if too many connections are active. |
| Method | flowStopped | No more Flows are
incoming; nothing to do. |
The flow has begun from the given fount of Flows.
| Parameters | fount | A fount of flows. One example of such a suitable fount would be the return
value of tubes.protocol.flowFountFromEndpoint. |
| Returns | None,
since this is a "terminal" drain, where founts of Flow must end up in order
for more new connections to be established. | |
Receive the given flow, applying backpressure if too many connections are active.
| Parameters | item | The inbound Flow. |
No more Flows are
incoming; nothing to do.
| Parameters | reason | the reason the flow stopped. |