Ejemplo 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)
Ejemplo 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)
Ejemplo n.º 3
0
 def cancel(self):
     if self._timer is None:
         return
     dcm_events.cancel_callback(self._timer)
     self._timer = None
Ejemplo 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")
Ejemplo n.º 5
0
 def _sm_stopping_early(self):
     dcm_events.cancel_callback(self._timer)
     self._timer = None
Ejemplo n.º 6
0
 def cancel(self):
     if self._timer is None:
         return
     dcm_events.cancel_callback(self._timer)
     self._timer = None
Ejemplo n.º 7
0
 def stop(self):
     self._stopped = True
     if self._timer is not None:
         dcm_events.cancel_callback(self._timer)
         self._timer = None
Ejemplo 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")
Ejemplo n.º 9
0
 def _sm_stopping_early(self):
     dcm_events.cancel_callback(self._timer)
     self._timer = None