code: def handle_line(self, line):
          
          if not self.gateway.can_log:
              _LOGGER.debug('Receiving %s', line)
          self.gateway.add_job(self.gateway.logic, line)
docs: Handle incoming string data one line at a time.