Revision | d0637f41a31e3c30cbe9c0616e107eb1cbca717b (tree) |
---|---|
Zeit | 2024-04-09 21:50:37 |
Autor | Albert Mietus < albert AT mietus DOT nl > |
Commiter | Albert Mietus < albert AT mietus DOT nl > |
aigr-nodes for machinery... updated
@@ -8,11 +8,22 @@ | ||
8 | 8 | |
9 | 9 | package machinery { |
10 | 10 | |
11 | - class DispatchTable { | |
11 | + class "machinery" as M { | |
12 | + delegate: implementation | |
13 | + } | |
14 | + note right #aquamarine | |
15 | + There are many Machineries (options). | |
16 | + All implementation details are | |
17 | + stored the the delegate. | |
18 | + (None when abstract) | |
19 | + endnote | |
20 | + | |
21 | + | |
22 | + abstract DispatchTable { | |
12 | 23 | handlers: List |
13 | 24 | } |
14 | 25 | DispatchTable <|-- eDispatchTable |
15 | - note right: Event DispatchTable | |
26 | + note right: **E**vent DispatchTable | |
16 | 27 | |
17 | 28 | abstract send_proto { |
18 | 29 | + outport |
@@ -20,6 +31,15 @@ | ||
20 | 31 | # handlers: DispatchTable |
21 | 32 | - index: |
22 | 33 | } |
34 | + note left #aqua | |
35 | + This represents a | |
36 | + line-of-code to | |
37 | + **send** event/data | |
38 | + over a connection | |
39 | + end note | |
40 | + class sendStream <<ToDo>> {} | |
41 | + class sendData <<ToDo>> {} | |
42 | + class sendEvent {} | |
23 | 43 | send_proto <|-- sendStream |
24 | 44 | send_proto <|-- sendData |
25 | 45 | send_proto <|-- sendEvent |
@@ -31,9 +51,18 @@ | ||
31 | 51 | - in: <inport, component> |
32 | 52 | # protocol |
33 | 53 | } |
54 | + note right #aqua | |
55 | + This is the result of | |
56 | + a line-of-code that | |
57 | + connects two ports | |
58 | + endnote | |
59 | + M <|--- send_proto | |
60 | + M <|--- connection | |
61 | + M <|--- send_proto | |
62 | + M <|--- DispatchTable | |
34 | 63 | |
35 | 64 | } |
36 | - AIGR <|--machinery | |
65 | + AIGR <|--M | |
37 | 66 | |
38 | 67 | class EventHandler |
39 | 68 | note left: A component-callable\n per event (in a Protocol),\n per port |
@@ -43,14 +72,14 @@ | ||
43 | 72 | 'metaclass Component |
44 | 73 | class Component |
45 | 74 | |
46 | - connection *-> Port: out | |
47 | - connection *-> Port: in | |
75 | + connection o-> Port: out | |
76 | + connection o-> Port: in | |
48 | 77 | connection .. Protocol : //indirect// |
49 | 78 | Protocol .. Port |
50 | 79 | Port "*" <-* Component |
51 | 80 | |
52 | 81 | eDispatchTable -> "*" EventHandler |
53 | - eDispatchTable "1" <-* "1" Port | |
82 | + eDispatchTable "1" <... "1" Port | |
54 | 83 | Component *--> "*" EventHandler |
55 | 84 | |
56 | 85 | @enduml |