tubes.tube.Diverter(proxyForInterface(IDrain, '_drain'))
class documentationtubes.tube
(View In Hierarchy)
A Diverter
is a drain
which maintains a
buffer of items not yet received by its IDivertable
down-stream drain.
Method | __init__ | Create a Diverter . |
Method | __repr__ | Nice string representation for this Diverter which mentions what it is diverting. |
Method | divert | Divert the flow from the fount which is flowing into this diverter to instead flow into the given drain, reassembling any buffered output from this siphon's tube first. |
Create a Diverter
.
Parameters | divertable | Divert a divertable. (type: IDivertable
provider) |