def init(self,state): sport,sinfo = tl.serve(state['pinfo']) state['state'] = 'open' state['service'] = sport,sinfo cinit = cn.controller.init(self,state) state['radio'].above.schm = 'passive' return cinit
def admin(service, root=0): assert MPI.COMM_WORLD.Get_size() == 1 brain() host = MPI.Get_processor_name() tl.log(0, "host began serving service", host, service) port, info = tl.serve(service) ad.control(service, port, info) tl.unserve(service, port, info) tl.log(0, "host ceased serving service", host, service)