atomic_p2p.manager package¶
Submodules¶
atomic_p2p.manager.process module¶
-
class
atomic_p2p.manager.process.
ProcManager
(loopDelay=1, logger=<Logger atomic_p2p.manager.process (DEBUG)>)¶ Bases:
multiprocessing.context.Process
-
is_start
()¶ - Return type
bool
-
run
()¶ Method to be run in sub-process; can be overridden in sub-class
- Return type
None
-
start
()¶ Start child process
- Return type
None
-
stop
()¶ - Return type
None
-
atomic_p2p.manager.thread module¶
-
class
atomic_p2p.manager.thread.
ThreadManager
(loopDelay=1, logger=<Logger atomic_p2p.manager.thread (DEBUG)>)¶ Bases:
threading.Thread
-
is_start
()¶ - Return type
bool
-
run
()¶ Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
- Return type
None
-
start
()¶ Start the thread’s activity.
It must be called at most once per thread object. It arranges for the object’s run() method to be invoked in a separate thread of control.
This method will raise a RuntimeError if called more than once on the same thread object.
- Return type
None
-
stop
()¶ - Return type
None
-
Module contents¶
-
class
atomic_p2p.manager.
ProcManager
(loopDelay=1, logger=<Logger atomic_p2p.manager.process (DEBUG)>)¶ Bases:
multiprocessing.context.Process
-
is_start
()¶ - Return type
bool
-
run
()¶ Method to be run in sub-process; can be overridden in sub-class
- Return type
None
-
start
()¶ Start child process
- Return type
None
-
stop
()¶ - Return type
None
-
-
class
atomic_p2p.manager.
ThreadManager
(loopDelay=1, logger=<Logger atomic_p2p.manager.thread (DEBUG)>)¶ Bases:
threading.Thread
-
is_start
()¶ - Return type
bool
-
run
()¶ Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
- Return type
None
-
start
()¶ Start the thread’s activity.
It must be called at most once per thread object. It arranges for the object’s run() method to be invoked in a separate thread of control.
This method will raise a RuntimeError if called more than once on the same thread object.
- Return type
None
-
stop
()¶ - Return type
None
-