IMP logo
IMP Reference Guide  2.14.0
The Integrative Modeling Platform
workerstate.py
1 class WorkerState:
2 
3  def __init__(self, desc):
4  self.desc = desc
5 
6 init = WorkerState("Initial state")
7 started = WorkerState("Started, but not yet connected back to manager")
8 connected = WorkerState("Connected, with no active task")
9 running_task = WorkerState("Connected, and running a task")
10 dead = WorkerState("Disconnected due to failure")