Beispiel #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
 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
Beispiel #3
0
 def _moveCallLaterSooner(self, tple):
     PosixReactorBase._moveCallLaterSooner(self, tple)
     self._reschedule()
Beispiel #4
0
 def _moveCallLaterSooner(self, tple):
     result = PosixReactorBase._moveCallLaterSooner(self, tple)
     self._scheduleSimulate()
     return result
Beispiel #5
0
 def _moveCallLaterSooner(self, tple):
     result = PosixReactorBase._moveCallLaterSooner(self, tple)
     self._scheduleSimulate()
     return result