Esempio n. 1
0
 def enterHFA(self, requestStatus):
     """Hit Point Force Acknowledge"""
     assert(self.notify.debug("enterHFA()"))
     self.acceptOnce(self.hfaDoneEvent, self.enterHFACallback, [requestStatus])
     # Make sure we have enough HP to leave the safe zone
     # This enforces the so-called time out penalty
     self.hfa = HealthForceAcknowledge.HealthForceAcknowledge(self.hfaDoneEvent)
     self.hfa.enter(1)
 def enterHFA(self, requestStatus):
     self.acceptOnce(self.hfaDoneEvent, self.enterHFACallback,
                     [requestStatus])
     self.hfa = HealthForceAcknowledge.HealthForceAcknowledge(
         self.hfaDoneEvent)
     self.hfa.enter(1)