def __init__(self, config, user_input_service): self.config = config self.logger = get_logger('UserInputBackendBase') self.logger.debug('Constructing') self.running = False self.user_input_service = user_input_service Thread.__init__(self)
def __init__(self, config): self.config = config self.logger = get_logger('UserOutputBackendBase') self.logger.debug('Constructing') self.running = False self.pending_output = [] Thread.__init__(self)
def __init__(self, config): self.config = config self.logger = get_logger('StateOutputBackendBase') self.logger.debug('Constructing') self.pending_state = None self.running = False Thread.__init__(self)
def __init__(self, config, user_input_service): super(TwilioUserInputBackend, self).__init__(config, user_input_service) self.logger = get_logger('TwilioUserInputBackend') self.logger.debug('Constructing')
def __init__(self, config, user_input_service): super(FileUserInputBackend, self).__init__(config, user_input_service) self.logger = get_logger('FileUserInputBackend') self.logger.debug('Constructing') self.last_input_str_seen = None
def __init__(self, config): super(StdoutUserOutputBackend, self).__init__(config) self.logger = get_logger('StdoutUserOutputBackend') self.logger.debug('Constructing')
def __init__(self, config): super(TwilioUserOutputBackend, self).__init__(config) self.logger = get_logger('TwilioUserOutputBackend') self.logger.debug('Constructing') self.setup_twilio_client()
def __init__(self, config): super(JSONFileStateOutputBackend, self).__init__(config) self.logger = get_logger('JSONFileStateOutputBackend') self.logger.debug('Constructing') self.file_path = self.config['state_output']['json_file']