Macromedia flash media server 2-server-side actionscript language reference Benutzerhandbuch

Seite von 74
32
Server Management ActionScript Language Reference
Description
Gets statistics for a particular group connection. This connection is special because it 
multiplexes for more than one connection and contains a unique statistic called 
members_count
. Group connections are established from one server to another as proxies.
See also
getGroups()
Availability
Flash Player 6.
Flash Media Server 2.
Usage
getGroups(app_instance)
Parameters
app_instance
  A string that contains the name of the instance of the application for which 
you want performance statistics, in the form 
application_name/instance_name
. You must 
specify both the application name and the instance name, separated by a slash (
/
), even if you 
want performance statistics for the default instance of the application.
For example, to specify the default instance for an application named 
ChatApp
, specify 
ChatApp/_defInst_
.
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 
array of the client IDs of all groups connected to this application. 
stream_ids
Array; an array of numbers (stream IDs).
members_count
Number; the number of clients multiplexing on this group connection.
Property
Description