29 lines
903 B
Plaintext
29 lines
903 B
Plaintext
@startuml
|
|
scale max 900*520
|
|
skinparam backgroundColor transparent
|
|
skinparam shadowing false
|
|
skinparam defaultFontName "DejaVu Sans Mono"
|
|
skinparam defaultFontSize 13
|
|
skinparam stateBorderColor #2b6f8e
|
|
skinparam stateBackgroundColor #edf6fa
|
|
skinparam ArrowColor #8295a0
|
|
left to right direction
|
|
title A6 STATE — inactive, active, expired and reloaded
|
|
state "01 INACTIVE" as Inactive
|
|
state "02 ACTIVE\nexpiry in list" as Active
|
|
state "03 COMMAND PENDING\naccepted ≠ executed" as Pending
|
|
state "04 CALLBACK\ndaemon stack" as Callback
|
|
state "05 RELOADED\nnext expiry" as Reloaded
|
|
state "06 STOPPED" as Stopped
|
|
[*] --> Inactive
|
|
Inactive --> Pending : start
|
|
Pending --> Active : daemon command
|
|
Active --> Pending : reset/change
|
|
Active --> Callback : expiry
|
|
Callback --> Reloaded : auto-reload
|
|
Callback --> Inactive : one-shot
|
|
Reloaded --> Active
|
|
Active --> Stopped : stop processed
|
|
Stopped --> [*]
|
|
@enduml
|