ExceptionIPause has
already been unpaused.IFount.stopFlow
was called, and that's why the flow was stopped.object_Siphon is an IDrain and possibly also an
IFount, and provides
lots of conveniences to make it easy to implement something that does fancy
flow control with just a few methods._SiphonFount and _SiphonDrainIDrain for _Siphon.IFount for _Siphon._Siphon.In._InFount is the
single fount associated with an In._OutDrain is the
single IDrain associated
with an Out.Out.newFount.A fan.In presents a single
fount that delivers the
inputs from multiple drains:
A fan.Out presents a
single drain that
delivers the inputs to multiple founts:
frames" - discrete
chunks of data - into "segments" - parts of
a raw data stream, with framing headers or delimiters attached.ITransport
to work with the protocols in basic,
as a wrapper around a callable taking some data.IPause for Pauser.IPause that does
nothing.Flow is a
combination of a Fount and a Drain, representing a bi-directional
communication channel such as a TCP connection.Listener is a
drain that accepts Flows and sets them
up._IteratorTube is an
ITube delivering the
values from an iterable._FountProducer
is an adapter to IPushProducer
for an IFount._TransportDrain
is an IDrain that wraps
around an object that provides ITransport
and IConsumer,
and delivers data to that transport, and flow-control notifications from
the consumer.IFount that wraps
around an ITransport,
and, with the help of a _ProtocolPlumbing,
delivers any data received by that ITransport
to an IDrain.Routed is a
specification describing another specification that has been wrapped in a
to. As such, it is an incomplete implementation of ISpecification.Routed(IX)
from its input and produces IX to its outputs._DrainingTube
is an ITube that
unbuffers a list of items. It is an implementation detail of the way that
Diverter works.drain to point at itself._NotQuiteNull is a
fount that delivers a StopIteration
flowStopped after yielding its values.@tube decorator.proxyForInterface(IDrain, '_drain')Diverter is a drain which maintains a
buffer of items not yet received by its IDivertable
down-stream drain.proxyForInterface(IDrain, '_outDrain')A fan.Thru takes an input
and fans it thru multiple drains-which-produce-founts, such as tubes:
ITransport
and IFount / IDrain interfaces.zope.interface.Interfacebytes
which represents a discrete, separated sequence of bytes within a protocol;
contrast with ISegment.pause is a reason
that an IFount is not
delivering output to its drain attribute. This reason may be
removed by unpausing the
pause.bytes
which represents the arbitrarily-sized segments of data that a
stream-oriented protocol may deliver; contrast with IFrame.IDivertable
is an ITube which may
have its input diverted away from it.