basic mesh node example app

This commit is contained in:
2018-06-10 17:56:28 +02:00
parent e9a04ac827
commit 0e6d7f7f3d
12 changed files with 78 additions and 63 deletions

View File

@@ -17,11 +17,12 @@ class Sprocket {
private:
AppStack* stack;
Scheduler scheduler;
Network* network;
Network network;
public:
Sprocket();
Sprocket* init(SprocketConfig);
Sprocket* join(Network&);
Sprocket* join(Network&, App&);
Sprocket* use(AppStack*);
Sprocket* addTask(Task&);
Sprocket* app(App&);