Updated simple_ssl example to use directly the standalone connector,

and use the new WSF_STANDALONE_SERVICE_OPTIONS class.
Added WSF_STANDALONE_SERVICE to make it easy to use directly.
This commit is contained in:
2016-10-14 15:13:27 +02:00
parent a4d737d548
commit b8aee435dd
3 changed files with 37 additions and 7 deletions

View File

@@ -0,0 +1,24 @@
note
description: "[
Service using standalone connector launcher.
]"
author: "$Author$"
date: "$Date$"
revision: "$Revision$"
class
WSF_STANDALONE_SERVICE [G -> WSF_EXECUTION create make end]
inherit
WSF_LAUNCHABLE_SERVICE
feature {NONE} -- Initialization
launch (opts: detachable WSF_SERVICE_LAUNCHER_OPTIONS)
local
l_launcher: WSF_STANDALONE_SERVICE_LAUNCHER [G]
do
create l_launcher.make_and_launch (opts)
end
end