Ejemplo n.º 1
0
 def _moveCallLaterSooner(self, tple):
     """
     Override L{PosixReactorBase}'s implementation of L{IDelayedCall.reset}
     so that it will immediately reschedule.  Normally
     C{_moveCallLaterSooner} depends on the fact that C{runUntilCurrent} is
     always run before the mainloop goes back to sleep, so this forces it to
     immediately recompute how long the loop needs to stay asleep.
     """
     result = PosixReactorBase._moveCallLaterSooner(self, tple)
     self._scheduleSimulate()
     return result
Ejemplo n.º 2
0
 def _moveCallLaterSooner(self, tple):
     """
     Override L{PosixReactorBase}'s implementation of L{IDelayedCall.reset}
     so that it will immediately reschedule.  Normally
     C{_moveCallLaterSooner} depends on the fact that C{runUntilCurrent} is
     always run before the mainloop goes back to sleep, so this forces it to
     immediately recompute how long the loop needs to stay asleep.
     """
     result = PosixReactorBase._moveCallLaterSooner(self, tple)
     self._scheduleSimulate()
     return result
Ejemplo n.º 3
0
 def _moveCallLaterSooner(self, tple):
     PosixReactorBase._moveCallLaterSooner(self, tple)
     self._reschedule()
Ejemplo n.º 4
0
 def _moveCallLaterSooner(self, tple):
     result = PosixReactorBase._moveCallLaterSooner(self, tple)
     self._scheduleSimulate()
     return result
Ejemplo n.º 5
0
 def _moveCallLaterSooner(self, tple):
     result = PosixReactorBase._moveCallLaterSooner(self, tple)
     self._scheduleSimulate()
     return result