12
Server Management ActionScript Language Reference
Commands for managing the server
The following table lists the methods you can use to manage the server.
Commands for configuring the server
The following table lists the methods you can use to configure the server.
Entries in this document are listed alphabetically.
Method
Brief description
addAdmin()
Adds an administrator to the system.*
*
Only server administrators can use this command.
addApp()
Adds a new application.
addVHostAlias()
Adds an alias to a virtual host.
changePswd()
Changes the password for an administrator in the system.
gc()
Forces garbage collection of server resources.*
reloadApp()
Unloads an instance of an application if it is loaded, and then reloads the
instance.
removeAdmin()
Removes an administrator from the system.*
removeApp()
Removes an application or an instance of an application.
removeVHostAlias()
Removes an alias from a virtual host.
restartVHost()
Restarts a virtual host.
startServer()
Starts or restarts Flash Media Server.*
startVHost()
Starts the specified virtual host if it stops. Enables a new virtual host if
the virtual host directories have been created in the file system.*
stopServer()
Shuts down the Flash Media Server.*
stopVHost()
Stops a virtual host.
unloadApp()
Unloads all instances of an application or one instance of an application.
Disconnects all users.
Method Description
getConfig2()
Returns configuration information for the specified configuration key.
setConfig2()
Sets a value for a specified configuration key.