uf:totam
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
uf:totam [2021/09/24 10:41] – update of protocols elisag | uf:totam [2021/09/24 10:49] (current) – [Creating a tuplespace and tuples] elisag | ||
---|---|---|---|
Line 29: | Line 29: | ||
TOTAM has been implemented in AmbientTalk. The system library shipped with AmbientTalk contains the TOTAM implementation under at/ | TOTAM has been implemented in AmbientTalk. The system library shipped with AmbientTalk contains the TOTAM implementation under at/ | ||
+ | ==== Creating a Tuplespace and Tuples ==== | ||
In order to use TOTAM, you need to load the library and create a TOTAM tuple space as follows: | In order to use TOTAM, you need to load the library and create a TOTAM tuple space as follows: | ||
Line 37: | Line 38: | ||
</ | </ | ||
- | A description can be passed in the '' | + | A description can be passed in the '' |
+ | |||
+ | To create a tuple or a template | ||
< | < | ||
// a “hallo” message tuple from wolf. | // a “hallo” message tuple from wolf. | ||
Line 46: | Line 49: | ||
def msgTuples := tuple: [" | def msgTuples := tuple: [" | ||
</ | </ | ||
+ | |||
+ | |||
+ | ==== Adding and Reading Tuples ==== | ||
TOTAM provides operations to add and read tuples from the tuple space as follows: | TOTAM provides operations to add and read tuples from the tuple space as follows: | ||
Line 86: | Line 92: | ||
==== Tuple' | ==== Tuple' | ||
- | Similar to TOTA, when devices come into communication range, | + | Similar to TOTA, public |
< | < |
uf/totam.1632472906.txt.gz · Last modified: 2021/09/24 10:41 by elisag