Added SCOOP support for WSF.

WSF_SERVICE is deeply changed, and addition of WSF_EXECUTION.
Todo: code cleaning, removing useless things.
This commit is contained in:
2015-03-24 23:21:49 +01:00
parent ddf73077b3
commit bf0eb9a02d
51 changed files with 951 additions and 316 deletions

View File

@@ -6,19 +6,19 @@ note
revision: "$Revision$"
class
WGI_LIBFCGI_CONNECTOR
WGI_LIBFCGI_CONNECTOR [G -> WGI_EXECUTION create make end]
inherit
WGI_CONNECTOR
create
make
redefine
default_create
end
feature {NONE} -- Initialization
make (a_service: like service)
default_create
do
service := a_service
Precursor
create fcgi.make
create input.make (fcgi)
create output.make (fcgi)
@@ -32,11 +32,6 @@ feature -- Access
Version: STRING_8 = "0.1"
-- Version of Current connector
feature {NONE} -- Access
service: WGI_SERVICE
-- Gateway Service
feature -- Server
launch
@@ -59,14 +54,18 @@ feature -- Execution
local
req: WGI_REQUEST_FROM_TABLE
res: detachable WGI_RESPONSE_STREAM
exec: detachable WGI_EXECUTION
rescued: BOOLEAN
do
if not rescued then
a_input.reset
create req.make (vars, a_input, Current)
create res.make (a_output, a_output)
service.execute (req, res)
create {G} exec.make (req, res)
exec.execute
res.flush
res.push
exec.clean
else
if attached (create {EXCEPTION_MANAGER}).last_exception as e and then attached e.exception_trace as l_trace then
if res /= Void then
@@ -81,6 +80,9 @@ feature -- Execution
res.push
end
end
if exec /= Void then
exec.clean
end
end
rescue
if not rescued then