Renamed DEFAULT_SERVICE as DEFAULT_SERVICE_LAUNCHER

This commit is contained in:
Jocelyn Fiat
2011-12-12 18:17:27 +01:00
parent 68e4ac9a8f
commit 0335226e8b
7 changed files with 53 additions and 11 deletions

View File

@@ -19,7 +19,7 @@ feature {NONE} -- Initialization
make
local
s: DEFAULT_SERVICE
s: DEFAULT_SERVICE_LAUNCHER
do
initialize_router
create s.make_and_launch (agent execute)

View File

@@ -21,7 +21,7 @@ feature {NONE} -- Initialization
make
local
s: DEFAULT_SERVICE
s: DEFAULT_SERVICE_LAUNCHER
do
initialize_router
create s.make_and_launch (agent execute)

View File

@@ -14,7 +14,7 @@ feature {NONE} -- Initialization
make
-- Run application.
local
s: DEFAULT_SERVICE
s: DEFAULT_SERVICE_LAUNCHER
do
create s.make_and_launch (agent execute)
end

View File

@@ -14,7 +14,7 @@ feature {NONE} -- Initialization
make
-- Run application.
local
s: DEFAULT_SERVICE
s: DEFAULT_SERVICE_LAUNCHER
do
create s.make_and_launch (agent execute)
end

View File

@@ -1,10 +1,24 @@
note
description: "Summary description for {DEFAULT_SERVICE}."
description: "[
Component to launch the service using the default connector
which is CGI for this class
How-to:
s: DEFAULT_SERVICE_LAUNCHER
create s.make_and_launch (agent execute)
execute (req: WSF_REQUEST; res: WSF_RESPONSE)
do
-- ...
end
]"
date: "$Date$"
revision: "$Revision$"
class
DEFAULT_SERVICE
DEFAULT_SERVICE_LAUNCHER
inherit
WSF_SERVICE

View File

@@ -1,10 +1,24 @@
note
description: "Summary description for {DEFAULT_SERVICE}."
description: "[
Component to launch the service using the default connector
which is libFCGI for this class
How-to:
s: DEFAULT_SERVICE_LAUNCHER
create s.make_and_launch (agent execute)
execute (req: WSF_REQUEST; res: WSF_RESPONSE)
do
-- ...
end
]"
date: "$Date$"
revision: "$Revision$"
class
DEFAULT_SERVICE
DEFAULT_SERVICE_LAUNCHER
inherit
WSF_SERVICE

View File

@@ -1,10 +1,24 @@
note
description: "Summary description for {DEFAULT_SERVICE}."
description: "[
Component to launch the service using the default connector
which is Eiffel Web Nino for this class
How-to:
s: DEFAULT_SERVICE_LAUNCHER
create s.make_and_launch (agent execute)
execute (req: WSF_REQUEST; res: WSF_RESPONSE)
do
-- ...
end
]"
date: "$Date$"
revision: "$Revision$"
class
DEFAULT_SERVICE
DEFAULT_SERVICE_LAUNCHER
inherit
WSF_SERVICE
@@ -21,7 +35,7 @@ feature {NONE} -- Initialization
base_url: STRING
do
action := a_action
port_number := 80 --| Default, but quite often, this port is already used ...
port_number := 8087 --| Default, but quite often, this port is already used ...
base_url := ""
debug ("nino")
print ("Example: start a Nino web server on port " + port_number.out +