support stopServer message
This commit is contained in:
parent
9f2bbe5bdf
commit
53f4f7a176
1 changed files with 13 additions and 8 deletions
|
@ -1,13 +1,18 @@
|
|||
@startuml
|
||||
skinparam monochrome true
|
||||
start
|
||||
:status = monitor.Open();
|
||||
if (status) then (failed)
|
||||
while ()
|
||||
:status = monitor.Open();
|
||||
if (status) then (failed)
|
||||
:print("Unable to start server");
|
||||
stop
|
||||
else (succeed)
|
||||
stop
|
||||
else (succeed)
|
||||
:monitor.AcceptClient();
|
||||
:serverOk!;
|
||||
stop
|
||||
endif
|
||||
|
||||
:stopServer?;
|
||||
:monitor.Close();
|
||||
endif
|
||||
endwhile
|
||||
stop
|
||||
@enduml
|
||||
|
|
Loading…
Reference in a new issue