Rev 2107 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2107 | Rev 2216 | ||
|---|---|---|---|
| Line 37... | Line 37... | ||
| 37 | #include "broker/Manager.h" |
37 | #include "broker/Manager.h" |
| 38 | #include "control/Manager.h" |
38 | #include "control/Manager.h" |
| 39 | #include "can/Network.h" |
39 | #include "can/Network.h" |
| 40 | #include "can/Monitor.h" |
40 | #include "can/Monitor.h" |
| 41 | #include "can/CanDaemon.h" |
41 | #include "can/CanDaemon.h" |
| - | 42 | #include "can/Forward.h" |
|
| 42 | #include "vm/Manager.h" |
43 | #include "vm/Manager.h" |
| 43 | #include "storage/Manager.h" |
44 | #include "storage/Manager.h" |
| 44 | #include "net/GetFile.h" |
45 | #include "net/GetFile.h" |
| 45 | #include "net/Url.h" |
46 | #include "net/Url.h" |
| 46 | 47 | ||
| Line 220... | Line 221... | ||
| 220 | /* Start CanDaemon server */ |
221 | /* Start CanDaemon server */ |
| 221 | if (config::Manager::Instance()->Exist("DaemonPort")) |
222 | if (config::Manager::Instance()->Exist("DaemonPort")) |
| 222 | { |
223 | { |
| 223 | subscribers.push_back(can::CanDaemon::Pointer(new can::CanDaemon(config::Manager::Instance()->GetAsInt("DaemonPort")))); |
224 | subscribers.push_back(can::CanDaemon::Pointer(new can::CanDaemon(config::Manager::Instance()->GetAsInt("DaemonPort")))); |
| 224 | } |
225 | } |
| - | 226 | ||
| - | 227 | /* Start CAN forward server */ |
|
| - | 228 | if (config::Manager::Instance()->Exist("CanForwardPort")) |
|
| - | 229 | { |
|
| - | 230 | subscribers.push_back(can::Forward::Pointer(new can::Forward(config::Manager::Instance()->GetAsInt("CanForwardPort")))); |
|
| - | 231 | } |
|
| - | 232 | ||
| 225 | 233 | ||
| 226 | 234 | ||
| 227 | /* Subscribe Can control manager to data */ |
235 | /* Subscribe Can control manager to data */ |
| 228 | subscribers.push_back(control::Manager::Instance()); |
236 | subscribers.push_back(control::Manager::Instance()); |
| 229 | 237 | ||