Esempio n. 1
0
 def _session_complete(self):
     # this is called when we know the session is over and it
     # gives us a change to clean everything up
     if self._message_timer:
         self._message_timer.cancel()
     if self._completion_timer:
         dcm_events.cancel_callback(self._completion_timer)
Esempio n. 2
0
 def _session_complete(self):
     # this is called when we know the session is over and it
     # gives us a change to clean everything up
     if self._message_timer:
         self._message_timer.cancel()
     if self._completion_timer:
         dcm_events.cancel_callback(self._completion_timer)
Esempio n. 3
0
 def cancel(self):
     if self._timer is None:
         return
     dcm_events.cancel_callback(self._timer)
     self._timer = None
Esempio n. 4
0
 def _sm_ack_received(self):
     # the timer must be active
     _g_logger.debug("ENTERING SM_ACK_RECEIVED")
     dcm_events.cancel_callback(self._timer)
     self._timer = None
     _g_logger.debug("EXITING SM_ACK_RECEIVED")
Esempio n. 5
0
 def _sm_stopping_early(self):
     dcm_events.cancel_callback(self._timer)
     self._timer = None
Esempio n. 6
0
 def cancel(self):
     if self._timer is None:
         return
     dcm_events.cancel_callback(self._timer)
     self._timer = None
Esempio n. 7
0
 def stop(self):
     self._stopped = True
     if self._timer is not None:
         dcm_events.cancel_callback(self._timer)
         self._timer = None
Esempio n. 8
0
 def _sm_ack_received(self):
     # the timer must be active
     _g_logger.debug("ENTERING SM_ACK_RECEIVED")
     dcm_events.cancel_callback(self._timer)
     self._timer = None
     _g_logger.debug("EXITING SM_ACK_RECEIVED")
Esempio n. 9
0
 def _sm_stopping_early(self):
     dcm_events.cancel_callback(self._timer)
     self._timer = None