Renamed DEFAULT_SERVICE as DEFAULT_SERVICE_LAUNCHER
This commit is contained in:
@@ -19,7 +19,7 @@ feature {NONE} -- Initialization
|
|||||||
|
|
||||||
make
|
make
|
||||||
local
|
local
|
||||||
s: DEFAULT_SERVICE
|
s: DEFAULT_SERVICE_LAUNCHER
|
||||||
do
|
do
|
||||||
initialize_router
|
initialize_router
|
||||||
create s.make_and_launch (agent execute)
|
create s.make_and_launch (agent execute)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ feature {NONE} -- Initialization
|
|||||||
|
|
||||||
make
|
make
|
||||||
local
|
local
|
||||||
s: DEFAULT_SERVICE
|
s: DEFAULT_SERVICE_LAUNCHER
|
||||||
do
|
do
|
||||||
initialize_router
|
initialize_router
|
||||||
create s.make_and_launch (agent execute)
|
create s.make_and_launch (agent execute)
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ feature {NONE} -- Initialization
|
|||||||
make
|
make
|
||||||
-- Run application.
|
-- Run application.
|
||||||
local
|
local
|
||||||
s: DEFAULT_SERVICE
|
s: DEFAULT_SERVICE_LAUNCHER
|
||||||
do
|
do
|
||||||
create s.make_and_launch (agent execute)
|
create s.make_and_launch (agent execute)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ feature {NONE} -- Initialization
|
|||||||
make
|
make
|
||||||
-- Run application.
|
-- Run application.
|
||||||
local
|
local
|
||||||
s: DEFAULT_SERVICE
|
s: DEFAULT_SERVICE_LAUNCHER
|
||||||
do
|
do
|
||||||
create s.make_and_launch (agent execute)
|
create s.make_and_launch (agent execute)
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,10 +1,24 @@
|
|||||||
note
|
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$"
|
date: "$Date$"
|
||||||
revision: "$Revision$"
|
revision: "$Revision$"
|
||||||
|
|
||||||
class
|
class
|
||||||
DEFAULT_SERVICE
|
DEFAULT_SERVICE_LAUNCHER
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_SERVICE
|
WSF_SERVICE
|
||||||
@@ -1,10 +1,24 @@
|
|||||||
note
|
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$"
|
date: "$Date$"
|
||||||
revision: "$Revision$"
|
revision: "$Revision$"
|
||||||
|
|
||||||
class
|
class
|
||||||
DEFAULT_SERVICE
|
DEFAULT_SERVICE_LAUNCHER
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_SERVICE
|
WSF_SERVICE
|
||||||
@@ -1,10 +1,24 @@
|
|||||||
note
|
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$"
|
date: "$Date$"
|
||||||
revision: "$Revision$"
|
revision: "$Revision$"
|
||||||
|
|
||||||
class
|
class
|
||||||
DEFAULT_SERVICE
|
DEFAULT_SERVICE_LAUNCHER
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
WSF_SERVICE
|
WSF_SERVICE
|
||||||
@@ -21,7 +35,7 @@ feature {NONE} -- Initialization
|
|||||||
base_url: STRING
|
base_url: STRING
|
||||||
do
|
do
|
||||||
action := a_action
|
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 := ""
|
base_url := ""
|
||||||
debug ("nino")
|
debug ("nino")
|
||||||
print ("Example: start a Nino web server on port " + port_number.out +
|
print ("Example: start a Nino web server on port " + port_number.out +
|
||||||
Reference in New Issue
Block a user