Method ServiceApp():main() Foundation

Service has started.

Syntax
:main( <aParameter> ) --> self
Parameters
<aParameter>
<aParameter> is a one dimensional array containing all commandline parameters passed to the service as character strings.
Return

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

Description

When the service is started by a call to the :start() method in the procedure Main(), this callback is called automatically by the system when the service state changes to "running".

The :main() callback method is mandatory and must be used to implement the task performed by the service. To do this, the method must be overwritten in a user-defined class derived from ServiceApp.

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.