This is the scenario that happens when the Director Of Construction is passed a
construct command.
1 |
Director of Construction |
new |
|
|
Extended Text File Reader |
|
2 |
Director of Construction |
request |
Extended Text File Reader |
to |
read data file |
|
3 |
Extended Text File Reader |
new |
|
|
Text File Reader |
|
4 |
Extended Text File Reader |
request |
Text File Reader |
to |
read data file |
|
5 |
Extended Text File Reader |
parses |
|
|
data file |
|
6 |
Extended Text File Reader |
expands |
file references |
by |
accessing data files |
|
7 |
|
until |
|
|
all data-file have been expanded |
|
8 |
Extended Text File Reader |
returns |
text file |
to |
Director of Construction |
|
9 |
Director of Construction |
parses |
text file |
for |
objects |
|
10 |
Director of Construction |
parses |
text file |
for |
instructions |
|
11 |
Director of Construction |
instructs |
builder |
to |
build object |
|
12 |
Builder |
builds |
|
|
object |
|
13 |
Builder |
returns |
object |
to |
Director of Construction |
|
14 |
Builder |
incorporates |
object |
into |
hierarchy |
|
15 |
Director of Construction |
completes construction |
|
|
|
|
16 |
Director of Construction |
returns |
|
|
root thing |