Method ServiceController():getUpdatedControl() Foundation

This class method returns the controller instance of the specified service.

Syntax
:getUpdatedControl( <cName> ) --> oServiceController
Parameters
<cName>
The name of the service whose controller is to be returned.
Return

This class method returns the controller object wich is controlling the service having the specified name. When the service controller does not exist, the return value is NIL.

Description

This class method is used to retrieve the current status of a service. When the class method returns an instance of the service, its status can be queried by inspecting the member variables :serviceType, :currentState, :controlsAccepted, :startType, :errorControl, :pathName and :displayName.

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.