tubes._siphon._SiphonDrain(_SiphonPiece) class documentationtubes._siphon
(View In Hierarchy)
Implements interfaces: tubes.itube.IDrain
| Method | __repr__ | Nice string representation. |
| Method | inputType | Relay the tube's declared inputType. |
| Method | flowingFrom | This siphon will now have 'receive' called on it by the given fount. |
| Method | receive | An item was received. Pass it on to the tube for processing. |
| Method | flowStopped | No summary |
Inherited from _SiphonPiece:
| Method | __init__ | Undocumented |
| Method | _tube | Expose the siphon's _tube directly since many things will
want to manipulate it. |
Relay the tube's declared inputType.
| Returns | see IDrain.inputType | |
This siphon will now have 'receive' called on it by the given fount.
| Parameters | fount | see IDrain.flowingFrom |
| Returns | see IDrain.flowingFrom | |
An item was received. Pass it on to the tube for processing.
| Parameters | item | an item to deliver to the tube. |
This siphon's fount has communicated the end of the flow to this siphon.
This siphon should finish yielding its current buffer, then yield the
result of it's _tube's stopped method, then
communicate the end of flow to its downstream drain.
| Parameters | reason | the reason why our fount stopped the flow. |