File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
library/server/ewsgi/connectors/standalone/src Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -16,30 +16,41 @@ inherit
1616feature -- Access
1717
1818 started : BOOLEAN
19+ -- is the server started?
1920
2021 stopped : BOOLEAN
22+ -- is the server stoped?
2123
2224 terminated : BOOLEAN
25+ -- is the server terminated?
2326
2427 port : INTEGER
28+ -- Server listening on port.
2529
2630feature -- Event
2731
2832 on_launched (a_port : INTEGER )
2933 do
3034 started := True
3135 port := a_port
36+ ensure then
37+ started_set : started = True
38+ port_set : port = a_port
3239 end
3340
3441 on_stopped
3542 do
3643 stopped := True
44+ ensure then
45+ stopped_set : stopped = True
3746 end
3847
3948 on_terminated
4049 do
4150 port := 0
4251 terminated := True
52+ ensure then
53+ terminated_set : terminated = True
4354 end
4455
4556note
You can’t perform that action at this time.
0 commit comments