| 1 | # Workers {#architecture_workers} |
| 2 | |
| 3 | @startuml{workers.svg} |
| 4 | |
| 5 | title Workers |
| 6 | |
| 7 | package "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers src://Dekko/workers]]" as workers { |
| 8 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/Workers.qml Workers.qml]]" as workerregistry { |
| 9 | } |
| 10 | |
| 11 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/AccountsWorker.qml AccountsWorker.qml]]" as accountsworker { |
| 12 | } |
| 13 | |
| 14 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/ComposerWorker.qml ComposerWorker.qml]]" as composerworker { |
| 15 | } |
| 16 | |
| 17 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/MailboxWorker.qml MailboxWorker.qml]]" as mailboxworker { |
| 18 | } |
| 19 | |
| 20 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/MailWorker.qml MailWorker.qml]]" as mailworker { |
| 21 | } |
| 22 | |
| 23 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/SettingsWorker.qml SettingsWorker.qml]]" as settingsworker { |
| 24 | } |
| 25 | |
| 26 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/ErrorsWorker.qml ErrorsWorker.qml]]" as errorsworker { |
| 27 | } |
| 28 | |
| 29 | class "[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/workers/UriWorker.qml UriWorker.qml]]" as uriworker { |
| 30 | } |
| 31 | |
| 32 | class "ViewWorker\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/app/Dekko.qml Dekko.qml]]" as viewworker { |
| 33 | } |
| 34 | |
| 35 | accountsworker *-- workerregistry |
| 36 | mailboxworker *-- workerregistry |
| 37 | settingsworker *-- workerregistry |
| 38 | errorsworker *-- workerregistry |
| 39 | uriworker *-- workerregistry |
| 40 | } |
| 41 | |
| 42 | package "[[architecture_stores.html stores]]" as stores { |
| 43 | |
| 44 | } |
| 45 | |
| 46 | |
| 47 | () "Actions\n[[https://gitlab.com/dekkan/dekko/-/tree/master/Dekko/api/public src://Dekko/api/public]]" as actions |
| 48 | |
| 49 | actions --> workers : are processed |
| 50 | workers --> stores : dispatches events |
| 51 | |
| 52 | @enduml |
| 53 |