def disconnect(self): # close serial port self.pyserialHandler.close() # disconnect the parent class ApiConnector.disconnect(self, reason="")
def disconnect(self, reason=""): with self.hdlcLock: # disconnect the parent class ApiConnector.disconnect(self, reason) # disconnect hdlc module if self.hdlc: self.hdlc.disconnect() # delete the hdlc module self.hdlc = None
def disconnect(self, reason = None): self.unsubscribe_override(['unsubscribe'], {}) self.logout() log.info('Disconnected from %s' % self.connect_params['host']) ApiConnector.disconnect(self, reason)
def disconnect(self, reason=None): self.unsubscribe_override(['unsubscribe'], {}) self.logout() log.info('Disconnected from %s' % self.connect_params['host']) ApiConnector.disconnect(self, reason)
def _disconnectedCb(self): # disconnect the parent ApiConnector.disconnect(self,'') # update status self._updateStatus(self.STATUS_DISCONNECTED)