summaryrefslogtreecommitdiffstats
path: root/networkstatus/README.statetransition
blob: ac075ea77cd56b6096a6f8d87b942d496b497aee (plain)
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
29
This table defines the actions to be taken on state transition.

TODO: potentially add extra states OnlineReading and OnlineWriting

                       NEW
       |Offline         |        Online |
---+---+----------------+---------------+
   |   |                |N|set online   |
   |   |                |L|reload       |
   | O |                |C|resources    |
   | F |                +---------------+ 
   | F |                |L|set online   | 
O  |   |                |C|reload res.  |
L  |   |                | |write res.   |
D  +---+----------------+---------------+
   |   |N|set offline   |               |
   |   |C|              |               |
   |   | |              |               |
   | O +---------------+|               |
   | N |U|set offline   |               |
   |   |W|write locally |               |
   |   |C|(subject to   |               |
   |   | |  save policy)|               |
---+---+----------------+---------------+
LC = Local changes exist
NLC = No local changes exist
UWC = Unsaved changes exist
NC = no changes exist