Information objects
All Server Management ActionScript API methods return data in an information object with
the following properties:
information objects have
property, which contains return data (often in an object or array), and the
data
and
properties, which typically provide information about errors.
details
In addition to the information objects that are documented in the Client-Side ActionScript
Language Reference for Flash Media Server 2, the NetConnection class has information objects
that are specific to the Server Management ActionScript API. The following table lists the
and
properties, as well as the meaning of commonly returned information
code
level
objects.
Code
NetConnection.Call.Success
NetConnection.Admin.CommandFailed
NetConnection.Call.Failed
NetConnection.Call.BadValue
*
This information object contains description and detail properties, which are strings that
provide a more specific reason for the failure.
Method summary
The Server Management ActionScript API contains the following three types of methods:
Queries let you monitor Flash Media Server, its applications, and specific instances of its
applications.
Administrative commands let you perform administrative tasks for Flash Media Server,
such as adding administrative users and starting and stopping the server, virtual hosts, and
applications.
Configuration commands: the
configuration keys, and the
,
,
level
code
timestamp
,
, and
level
code
timestamp
Level
Status
Error
Error
Error
getConfig2()
setConfig2()
,
,
data
description
properties. Some methods have the
Meaning
The call is successful.
This information object includes a
property, which returns detailed information
in an object or array.
The method called is nonexistent.*
A general failure has occurred.*
The value of a parameter is invalid.*
command lets you view server
command lets you set values for the keys.
, and
. All
details
description
data
Method summary
9
Need help?
Do you have a question about the FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE and is the answer not in the manual?