Message ServiceApp():main() Foundation

This callback is called when the service is started.

:main := {| aParameter | ... }
:main( <aParameter> ) --> self
<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.

The class method :main() returns the class object.


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.


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.