This commit is contained in:
Wolfgang Hottgenroth
2017-07-22 23:39:14 +02:00
commit dad740e620
9 changed files with 335 additions and 0 deletions

18
dist/main.js vendored Normal file
View File

@ -0,0 +1,18 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const log = require("./log");
const MqttClient = require("./mqttclient");
class Dispatcher {
constructor() {
this._mqttClient = new MqttClient.MqttClient();
this._mqttClient.register('IoT/test', null);
this._mqttClient.register('IoT/Device/#', null);
}
exec() {
log.info("Dispatcher starting");
this._mqttClient.exec();
}
}
const dispatcher = new Dispatcher();
dispatcher.exec();
//# sourceMappingURL=main.js.map