Commit 877de189 by Chavee Issariyapat

add getInfo()

parent 4d893520
......@@ -54,6 +54,15 @@ FlowAgent.prototype.start = function() {
this.coordinator.start();
}
FlowAgent.prototype.getInfo = function() {
return {
broker_uri : this.option.broker_uri,
flowagentid : this.option.flowagentid,
flowagentsecret : this.option.flowagentsecret
}
}
function create(option) {
return new FlowAgent(option);
}
{
"name": "flowagent",
"version": "1.1.0",
"version": "1.1.1",
"description": "",
"main": "flowagent.js",
"scripts": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment