blob: 7d86dfffa7629916108dd5b86a1faad3bccbe8ea (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
@startuml
actor client
node "Application Supervisor" as sup
node Task.Supervisor as task
node "ExTra.Server" as server
node "loop_acceptor" as accept1
node "loop_acceptor" as accept2
component "ExTra.Command" as cmd
node "ExTra.Dict" as dict
collections "dictionaries" as dicts
cloud "network"
sup -right-> task
sup -up--> dict
sup -down--> server
server <-down- network : "listen for new connections"
server .right.> accept2 : "spawn new loop after first acceptor is occupied"
task -> accept1
task -> accept2
dict <-up- dicts : "reads"
client -up--> accept1 : "send command"
accept1 -up-> cmd : "parse command"
cmd <-up-> dict : "execute command"
@enduml
|