You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
695 B
Plaintext

@startuml
autonumber
hide footbox
footer "LTDFS | Ruakij"
header "Local\nOwner"
title "Open Read&Write"
participant Client
control SiteA
boundary "Other Sites" as Others
Client -> SiteA ++ : Open [rw]
SiteA -> SiteA : Check owner
alt Client is owner
SiteA -> SiteA : Lock file
alt Already locked
SiteA --> Client : File is locked
else Locked
SiteA ->> Others : File locked
note left
Distribute Info
about Lock
end note
end
end
SiteA -> SiteA : Check availablility
alt Locally available
SiteA --> Client -- : File opened
end
@enduml