wet.dispatcher module

basic package for the program.

class wet.dispatcher.Dispatcher(zelf, *args, **kwargs)[source]

Bases: wet.thing.Thing

the dispatcher delegates the workload to the Runners. Runner gets instantiated when needed.

cc = '!'
collect(zelf, *args, **kwargs)[source]
default = ''
dispatch(zelf, *args, **kwargs)[source]
event(zelf, *args, **kwargs)[source]
exit(zelf, *args, **kwargs)[source]
find_cmnd(zelf, *args, **kwargs)[source]
put(zelf, *args, **kwargs)[source]
single(zelf, *args, **kwargs)[source]
start(zelf, *args, **kwargs)[source]
stop(zelf, *args, **kwargs)[source]
class wet.dispatcher.Task(zelf, *args, **kwargs)[source]

Bases: threading.Thread

the working unit of WET.

put(zelf, *args, **kwargs)[source]

put arguments/kwargs to the Task.

run(zelf, *args, **kwargs)[source]

loop that executes the (function, ding) pairs.

stop(zelf, *args, **kwargs)[source]

Previous topic

wet.defines module

Next topic

wet.errors module