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