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

Descargar
Página de 74
54
Server Management ActionScript Language Reference
Description
Returns an array of vhosts defined for the specified adaptor. You must be a server 
administrator to perform this command. 
getVHostStats()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getVHostStats([adaptorName, vhostName])
Parameters
adaptorName
  Optional string that contains the user name of the adaptor. If not specified, it 
is assumed to be 
"_defaultRoot_"
.
vhostName
  Optional string that contains the user name of the virtual host. If not specified, 
it is assumed to be 
"_defaultVHost_"
.
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 containing the virtual host performance data. The 
data
 object has the following 
properties:
Property
Description
msg_in
Number; total number of messages processed by this vhost. 
msg_out
Number; total number of messages sent by this vhost. 
msg_dropped
Number; total number of messages dropped by this vhost. 
bytes_in
Number; total number of bytes read by this vhost.
bytes_out
Number; total number of bytes written by this vhost.
accepted
Number; total number connections accepted by this vhost. 
rejected
Number; total number of connections rejected by this vhost.
connected
Number; total number of connections currently active. 
total_apps
Number; total number of applications that have been created.
total_connects
Number; total number of connections to the server.