Maintains all workers and communication with outside. Messages (and a few similar ones).
12345678910111213141516171819
caseobjectActorList// returns actor ids and whether they are paused.caseclassQueryState(id:String,pause:Boolean=true)caseclassQueryParams(id:String)// look up parameters at hub.caseclassUpdateParams(id:String,p:P)caseclassUpdateState(id:String,x:X)caseclassPauseWorker(id:String)caseclassResumeWorker(id:String)caseclassStopWorker(id:String)caseclassUpdateGoals(id:String,goals:List[X=>Boolean])caseclassActorLoops(id:String,loops:Int)
For simplicity, assume that pausing on success is independent of actor, and pausing on query is part of the query string.