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