Method ServiceApp():start() Foundation

This class method starts the service process.

:start() --> self

The class method returns the class object.


When this class method is called the service process starts. Usually this class method is executed in the PROCEDURE Main of the application implementing the service. As a result the callback code block assigned to :main or the method :main() are executed by the system implicitly.

The class method returns when two conditions are met: the service has finished its :main() callback and the service has received the Stop control request.

When the service application is running in the debugger, this class method is calling the method :main() explicitly. This way it is possible to debug a service application.


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.