core.dispatcher module

basic package for the program.

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

Bases: core.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 core.dispatcher.Task(zelf, *args, **kwargs)[source]

Bases: threading.Thread

the working unit of CORE.

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

core.defines module

Next topic

core.errors module