Moved httpd library from ewsgi/connectors/standalone/lib/httpd to httpd.
Reused the http_network library as well inside httpd library.
This commit is contained in:
28
library/server/httpd/httpd_controller.e
Normal file
28
library/server/httpd/httpd_controller.e
Normal file
@@ -0,0 +1,28 @@
|
||||
note
|
||||
description: "[
|
||||
Object used to control (i.e shutdown) the server.
|
||||
Mostly needed in SCOOP concurrency mode.
|
||||
]"
|
||||
date: "$Date$"
|
||||
revision: "$Revision$"
|
||||
|
||||
class
|
||||
HTTPD_CONTROLLER
|
||||
|
||||
feature -- Operation
|
||||
|
||||
shutdown
|
||||
-- Request the associated server to be shutdown.
|
||||
do
|
||||
shutdown_requested := True
|
||||
end
|
||||
|
||||
feature -- Status report.
|
||||
|
||||
shutdown_requested: BOOLEAN
|
||||
-- Shutdown requested.
|
||||
|
||||
;note
|
||||
copyright: "2011-2013, Javier Velilla, Jocelyn Fiat and others"
|
||||
license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)"
|
||||
end
|
||||
Reference in New Issue
Block a user