support stopServer message

This commit is contained in:
Yohan Simard 2021-03-12 15:17:34 +01:00
parent 9f2bbe5bdf
commit 53f4f7a176

View file

@ -1,13 +1,18 @@
@startuml @startuml
skinparam monochrome true skinparam monochrome true
start start
:status = monitor.Open(); while ()
if (status) then (failed) :status = monitor.Open();
if (status) then (failed)
:print("Unable to start server"); :print("Unable to start server");
stop stop
else (succeed) else (succeed)
:monitor.AcceptClient(); :monitor.AcceptClient();
:serverOk!; :serverOk!;
stop
endif :stopServer?;
:monitor.Close();
endif
endwhile
stop
@enduml @enduml