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

Descargar
Página de 74
getIOStats()
35
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.
Description
Gets the performance data for a specified instance of an application.
If you only need information about the performance of a specific script, use the 
getScriptStats
 method.
See also
getIOStats()
Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
getIOStats()
Parameters
None.
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
msg_in
Number; total number of messages processed by the adaptor.
msg_out
Number; total number of messages sent by the adaptor.
bytes_in
Number; total number of bytes read by the adaptor.
bytes_out
Number; total number of bytes written by the adaptor.
reads
Number; total number of system read calls.
writes
Number; total number of system writes.