Ejemplo n.º 1
0
class PyroQueueNonRoot(object):
    def __init__(self, comm):
        self.comm = comm
        self.repl = ProgrammaticREPL()

    def run(self):
        while 1:
            code = None
            code = self.comm.comm.bcast(code, root=0)
            mylog.info('Received commands from subcomm root.')
            value = self.repl.execute(code)
Ejemplo n.º 2
0
class PyroQueueNonRoot(object):
    def __init__(self, comm):
        self.comm = comm
        self.repl = ProgrammaticREPL()

    def run(self):
        while 1:
            code = None
            code = self.comm.comm.bcast(code, root=0)
            mylog.info("Received commands from subcomm root.")
            value = self.repl.execute(code)
Ejemplo n.º 3
0
 def __init__(self, comm):
     self.comm = comm
     self.repl = ProgrammaticREPL()
Ejemplo n.º 4
0
 def __init__(self, comm):
     self.comm = comm
     self.repl = ProgrammaticREPL()
     self.execution_thread = ExecutionThread(self.repl)
     self.payload_handler = PayloadHandler()
     self.execution_thread.start()
Ejemplo n.º 5
0
 def __init__(self, comm):
     self.comm = comm
     self.repl = ProgrammaticREPL()