Processor class introduced

This commit is contained in:
Wolfgang Hottgenroth
2017-08-09 11:37:22 +02:00
parent 09d7ea8ace
commit 16313c868f
7 changed files with 124 additions and 55 deletions

15
dist/plugintest1.js vendored Normal file
View File

@ -0,0 +1,15 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const log = require("./log");
const processor = require("./processor");
var exRoute = new processor.ExProc1('label1');
function pluginTest1Start(dispatcher) {
log.info("starting plugintest1");
dispatcher.register('IoT/test', "plugintest1", (message) => {
log.info(`plugintest1 runs: ${message}`);
exRoute.in(message);
return message;
});
}
exports.pluginTest1Start = pluginTest1Start;
//# sourceMappingURL=plugintest1.js.map