spreadflow_core.proc module¶
-
class
spreadflow_core.proc.DebugLog(message=u'Item received: {item}', level=u'debug')¶ Bases:
objectA minimal processor which simply logs every item received.
-
log¶ A L{Logger} emits log messages to an observer. You should instantiate it as a class or module attribute, as documented in L{this module’s documentation <twisted.logger>}.
-
-
class
spreadflow_core.proc.Duplicator¶ Bases:
objectA processor capable of sending messages to another flow.
-
class
spreadflow_core.proc.Sleep(delay)¶ Bases:
objectA processor which delays every incomming message by the specified amount.
When sleeping, no other incoming message is accepted. Use a throttle before this component in order to avoid queue overflow.
-
attach(scheduler, reactor)¶
-
detach()¶
-
sleep= None¶
-