diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2020-04-23 12:12:14 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | e4907cc26ae3a45129e77ba78eb5ab33aabc11ab (patch) | |
tree | 3da65e0e47836b0e407e2405f33bb16162c0cebb /sources/main.c | |
parent | 87be2ce08db9fa50b655dacddccc70167f7aca27 (diff) |
#942 Improve scope break down process
OpenGnsys has a hierarchical scope system to organize clients:
+------+
|Center|
+------+
| |
| |
v v
+--------------------+ +----------+
+-->+Groups of classrooms+----->+Classrooms|
| +-+------------------+ +----------+
| | | |
+-----+ | |
v v
+-----------------+ +-------+
+-->+Groups of clients+--------->+Clients|
| +-+---------------+ +-------+
| |
+-----+
OpenGnsys can send commands and tasks to several clients simultaneously
selecting a scope. For example: send poweroff to center Faculty of
Pharmacy. We had a waterfall process to loop through all members of the
scope and obtain the clients.
This commit simplifies the process with queries that save us to loop
through the members.
Co-authored-by: Irina Gómez <irinagomez@us.es>
Diffstat (limited to 'sources/main.c')
0 files changed, 0 insertions, 0 deletions