public WebHookEngine(RoomieEngine roomieController, string computerName, string apiBaseUrl, string accessKey, string encryptionKey) { this.roomieController = roomieController; this.computerName = computerName; string threadPoolName = "Web Hook (to " + apiBaseUrl + ")"; this.threadPool = roomieController.CreateThreadPool(threadPoolName); this.running = false; apiClient = new RoomieApiClient(apiBaseUrl, accessKey); }
public SpeechResponder(RoomieEngine engine) { RegisteredCommands = new Dictionary <string, ScriptCommandList>(); _speechRecognizer = new NamedSpeechRecognizer(TimeSpan.FromSeconds(10), "Roomie"); ThreadPool = engine.CreateThreadPool("Speech Recognizer"); }