def initiate(self, agent): agent.call_next(agent.update_neighbour_monitors, shard_recip=self.recipient)
def on_restarted(self, agent): agent.call_next(agent.check_if_agency_hosts, self.recipient) if self.static_name: agent.resolve_alert(self.static_name, "ok")
def on_goodbye(self, agent): agent.call_next(agent.terminate)
def on_restarted(self, agent): agent.call_next(agent.check_if_agency_hosts, self.recipient)