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