Beispiel #1
0
 def initiate(self, agent):
     agent.call_next(agent.update_neighbour_monitors,
                     shard_recip=self.recipient)
Beispiel #2
0
 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")
Beispiel #3
0
 def on_goodbye(self, agent):
     agent.call_next(agent.terminate)
Beispiel #4
0
 def on_restarted(self, agent):
     agent.call_next(agent.check_if_agency_hosts, self.recipient)