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,6 +1,7 @@
@startuml @startuml
skinparam monochrome true skinparam monochrome true
start start
while ()
:status = monitor.Open(); :status = monitor.Open();
if (status) then (failed) if (status) then (failed)
:print("Unable to start server"); :print("Unable to start server");
@ -8,6 +9,10 @@ stop
else (succeed) else (succeed)
:monitor.AcceptClient(); :monitor.AcceptClient();
:serverOk!; :serverOk!;
stop
:stopServer?;
:monitor.Close();
endif endif
endwhile
stop
@enduml @enduml