Macromedia flash media server 2-server-side actionscript language reference Manual De Usuario

Descargar
Página de 74
56
Server Management ActionScript Language Reference
ping()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
ping()
Parameters
None.
Returns
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 
timestamp
 property that 
is a Date object. The Date object indicates the time that the command was executed.
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.
Description
Verifies that the server is running; the server responds with a status message. You can use this 
command to check the status of the server.
reloadApp()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
reloadApp(app_name)
Parameters
app_name
  A string that contains the name of the application or instance of the application, 
in the form 
application_name[/instance_name]
. To reload the default instance of an 
application, specify only the name of the application.