Improve connector options mainly for standalone connector. Updated "simple" example to return a timestamp.
34 lines
640 B
Plaintext
34 lines
640 B
Plaintext
note
|
|
description : "simple application root class"
|
|
date : "$Date$"
|
|
revision : "$Revision$"
|
|
|
|
class
|
|
APPLICATION
|
|
|
|
inherit
|
|
WSF_DEFAULT_SERVICE [APPLICATION_EXECUTION]
|
|
redefine
|
|
initialize
|
|
end
|
|
|
|
create
|
|
make_and_launch
|
|
|
|
feature {NONE} -- Initialization
|
|
|
|
initialize
|
|
-- Initialize current service.
|
|
do
|
|
-- Specific to `standalone' connector (the EiffelWeb server).
|
|
-- See `{WSF_STANDALONE_SERVICE_LAUNCHER}.initialize'
|
|
set_service_option ("port", 9090)
|
|
set_service_option ("max_concurrent_connections", 10)
|
|
set_service_option ("keep_alive_timeout", 1)
|
|
set_service_option ("verbose", True)
|
|
end
|
|
|
|
|
|
|
|
end
|