User Guide
getVHosts() 53
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 the connection of a specified user.
See also
getUsers()
getVHosts()
Availability
■ Flash Player 6.
■ Flash Communication Server MX 1.0.
Usage
getVHosts([adaptorName])
Parameters
adaptorName Optional string that contains the user name of the adaptor. If not specified, it
is assumed to be
"_defaultRoot_".
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 strings containing the names of all the virtual hosts.
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.
protocol
String; protocol used by the client to connect to the server ("rtmp",
"rtmpt" or "rtmps".)
stream_ids
Array of numbers that represent the stream IDs.
Property Description