45 lines
1.1 KiB
Plaintext
45 lines
1.1 KiB
Plaintext
note
|
|
description: "[
|
|
This class launch the HELLO_EXECUTION service.
|
|
|
|
It inherits from WSF_DEFAULT_SERVICE to get default EWF connector ready
|
|
only `HELLO_EXECUTION' needs to be implemented.
|
|
|
|
`initialize' can be redefine to provide custom options if needed.
|
|
|
|
]"
|
|
|
|
class
|
|
HELLO_APPLICATION
|
|
|
|
inherit
|
|
WSF_DEFAULT_SERVICE [HELLO_EXECUTION]
|
|
redefine
|
|
initialize
|
|
end
|
|
|
|
create
|
|
make_and_launch
|
|
|
|
feature {NONE} -- Initialization
|
|
|
|
initialize
|
|
do
|
|
--| Uncomment the following line, to be able to load options from the file ewf.ini
|
|
create {WSF_SERVICE_LAUNCHER_OPTIONS_FROM_INI} service_options.make_from_file ("ewf.ini")
|
|
|
|
--| You can also uncomment the following line if you use the Standalone connector
|
|
--| so that the server listens on port 9999
|
|
--| quite often the port 80 is already busy
|
|
-- set_service_option ("port", 9999)
|
|
|
|
--| Uncomment next line to have verbose option if available
|
|
-- set_service_option ("verbose", True)
|
|
|
|
--| If you don't need any custom options, you are not obliged to redefine `initialize'
|
|
Precursor
|
|
end
|
|
|
|
|
|
end
|