Anatomy of a Node

The peers of OctoMY™

Topics

  • components
  • architecture

While agents, remotes and hubs serve widely different purposes, there is still a large overlap in features under the hood. They all share the following:

Service wrappers

Service levels

In this page we will go through how every Node is structured.

Launch sequence

Launcher

Launcher is instantiated

auto agentMain = QSharedPointer >::create();

Launcher is configured

agentMain->configure("agent", argc, argv);

This will create a new instance of AppContext that contains the following;

Launcher is run

auto ret = agentMain->run(); exit(ret);

This will:

Node

appConfigure()

nodeConfigure()

(called from laucnher appConfigure() ) NOTE: Spesific to node type. In this example we talk about Agent

appActivate()

(called from launcher)

nodeActivation()

called by appActivate() NOTE: Spesific to node type. In this example we talk about Agent


Debug enabled