| 1 |
Allow cross-type communication |
| 2 |
|
| 3 |
Sending notifications is possible from |
| 4 |
|
| 5 |
- manifest |
| 6 |
- gencode-local |
| 7 |
- gencode-remote |
| 8 |
|
| 9 |
Sending a notification from an object means writing to the file "notifications" into |
| 10 |
its object: |
| 11 |
|
| 12 |
echo mytest >> "$__object/notifications" # a type reports something |
| 13 |
|
| 14 |
Reading / Reacting on notifications works by accessing the file |
| 15 |
referred to be "$__notifications". All notifications are prefixed with |
| 16 |
the object name ($__object_name) and are appended into this file. |
| 17 |
|
| 18 |
To find out, whether a file was copied, run: |
| 19 |
|
| 20 |
grep __file/etc/passwd:copy "$__notifications" |