def setup(self): """ Initialize Handler """ FormulaActor.setup(self) self.add_handler(PoisonPillMessage, PoisonPillMessageHandler(self.state)) self.add_handler(Report, ReportHandler(self.state))
def setup(self): """ Setup the messages handlers. """ FormulaActor.setup(self) self.add_handler(PoisonPillMessage, PoisonPillMessageHandler(self.state)) self.add_handler(HWPCReport, ReportHandler(self.state))
def setup(self): FormulaActor.setup(self) self.add_handler(PoisonPillMessage, FormulaPoisonPillMessageHandler(self.state)) self.add_handler(Report, ReportHandler(self.state))