![MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT... Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/macromedia/flash-media-server-2-server-management-actionscript/flash-media-server-2-server-management-actionscript_reference_3373548049.webp)
getSharedObjects()
49
Description
Returns an array containing the names of all the services currently connected to Flash Media
Server.
Special applications may connect and offer themselves as services to the Flash Media Server.
These connections can currently only come through the Java or C SDK for Flash Media
Server, as normal connections cannot register as a service. Each application may request the
use of these services, and the requested service will offer itself to the application.
getSharedObjects()
Availability
■
Flash Player 6.
■
Flash Communication Server MX 1.0.
Usage
getSharedObjects(
app_instance
)
Parameters
app_instance
A string that contains the name of the instance of the application, in the
form
application_name
/
instance_name
.
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
data
property that is an
object. The
data
object has the following properties:
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.
This call fails if you supply an application or instance name that does not exist.
Description
Gets the names of all the shared objects that are currently active.
Property
Description
persistent
Array of strings that contain persistent shared object names.
volatile
Array of strings that contain shared object names that are not
persistent.