Commit 60e1d083f94f993b772846d9d209f845081a9094
added more to example
wanderer committed on 6/29/2017, 6:01:13 PMParent: 57aceb3a4770eb28d712a6473fecbbdbc4fb175b
Files changed
examples/index.js | changed |
examples/index.js | ||
---|---|---|
@@ -71,8 +71,22 @@ | ||
71 | 71 | data: 'bindPort', |
72 | 72 | ports: [chanRef2] |
73 | 73 | })) |
74 | 74 | |
75 | + // after the recieving containers bind the ports in the messages the channel | |
76 | + // topology will look like this. Where "[]" are the containers, "*" are the | |
77 | + // ports that the container have and "(name)" is the port name. | |
78 | + // | |
79 | + // root container | |
80 | + // [ ] | |
81 | + // (one) * * (two) | |
82 | + // / \ | |
83 | + // / \ | |
84 | + // / \ | |
85 | + // (parent)* * (parent) | |
86 | + // [ ]*--------*[ ] | |
87 | + // (channel) (channel) | |
88 | + | |
75 | 89 | // create a new state root. The state root is not created untill the |
76 | 90 | // hypervisor has finished all of it's work |
77 | 91 | const stateRoot = await hypervisor.createStateRoot() |
78 | 92 | console.log(stateRoot) |
Built with git-ssb-web