Event ServiceApp()main() Foundation
This callback is called when the service is started.
Syntax
:main := {| aParameter | ... }
:main( <aParameter> ) --> self
Parameters
<aParameter>
<aParameter> is a one dimensional array conatining all command line parameters passed to the service as character strings. The parameters are passed upon start of the service.
Return
The class method :main() returns the class object.
Description
When the service is started in PROCEDURE Main, this slot is called implicitly by the system. As soon as the service is started its state changes to Running. The Runnning state is kept until the Stop request is received by the service.
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.