| 334 | 3. In {{{traceState.rb}}}, |
| 335 | |
| 336 | Inside the definition of {{{self.experiment}}}, at the beginning, |
| 337 | |
| 338 | {{{ |
| 339 | if NodeHandler.instance.omlize? |
| 340 | NodeHandler.injectExperiment command, arg |
| 341 | end |
| 342 | }}} |
| 343 | |
| 344 | |
| 345 | Inside the definition of {{{self.nodeStatus}}} at the end, |
| 346 | |
| 347 | {{{ |
| 348 | if NodeHandler.instance.omlize? |
| 349 | NodeHandler.injectNodeStat node, status |
| 350 | end |
| 351 | }}} |
| 352 | |
| 353 | Inside the definition of {{{self.nodeConfigure}}}, at the end, |
| 354 | |
| 355 | {{{ |
| 356 | if NodeHandler.instance.omlize? |
| 357 | NodeHandler.injectNode node, name, value, status |
| 358 | end |
| 359 | }}} |
| 360 | |
| 361 | Inside the definition of {{{self.nodeOnAppEvent}}}, at the end, |
| 362 | |
| 363 | {{{ |
| 364 | if NodeHandler.instance.omlize? |
| 365 | NodeHandler.injectNode node, appName, eventName, message |
| 366 | end |
| 367 | }}} |
| 368 | |
| 369 | Inside the ''first ''definition of {{{onEvent}}}, at the top, |
| 370 | |
| 371 | {{{ |
| 372 | if NodeHandler.instance.omlize? |
| 373 | NodeHandler.injectNode node, "event", eventName, message |
| 374 | end |
| 375 | }}} |
| 376 | |
| 377 | Inside the ''second'' definition of {{{onEvent}}}, at the top, |
| 378 | |
| 379 | {{{ |
| 380 | if NodeHandler.instance.omlize? |
| 381 | NodeHandler.injectNode node, op, message, eventName |
| 382 | end |
| 383 | }}} |