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