Flash Media Server |
|||
| Server Management ActionScript Language Reference > Server Management ActionScript Dictionary > getActiveInstances() | |||
getActiveInstances([processID])
processID A number; the process identifier of a Flash Media Server core process. This parameter is optional.
If the call succeeds, the server sends a reply information object with a level property of status, a code property of NetConnection.Call.Success, and a data property that is an array of strings containing the names of all running instances of an application on the server or on a specified process.
If the call fails, the server sends a reply information object with a level property of error and a code property of NetConnection.Call.Failed or a more specific value, if available. Some objects might also have a description property that contains a string describing the cause of the failure.
Returns an array of strings that contains the names of all running application instances on the entire server (if no processID parameter is passed), or on the process specified by the processID parameter.