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

Descargar
Página de 74
50
Server Management ActionScript Language Reference
See also
getSharedObjectStats()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getSharedObjectStats(app_instanceobject_namepersistence)
Parameters
app_instance
  A string that contains the name of the instance of the application, in the 
form 
application_name/instance_name
object_name
  A string that contains the name of the shared object. You can get the names of 
all active shared objects by using the 
getSharedObjects
 command.
persistence
 A 
Boolean 
value: 
true
 (
1
) for persistent; 
false
 (
0
) for nonpersistent.
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:
Property
Description
version
Number; version number of the shared object.
num_properties
Number; total number of properties in the shared object.
msg_in
Number; total messages in to the shared object.
msg_out
Number; total messages out from the shared object.
total_connects
Number; total number of connections to the shared object. 
total_disconnects
Number; total number of disconnections from the shared object. 
connected
Number; number of active subscribers.
resync_depth
Number; maximum version retained before resynchronization. If the 
difference between the server version number and the client version 
number is greater than the 
resync_depth
 value, Flash Media Server 
sends only changes between versions.