RTMP/E
getEdgeConnections(appInst:String) : Object
HTTP
http://www.example.com:1111/admin/getEdgeConnections?auser=username&apswd=password&appInst=name
Returns a list of the edge connections for a particular application instance. Edge connections are multiplexed connections from a remote edge server to an origin server. Each edge connection represents at least one individual connection to another Adobe Media Server that is acting as an edge for this server.
This method was formerly known as getGroups().
Availability
Flash Media Server 2.0.
Parameters
appInst
A String indicating 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_.
auser
A String indicating the user name of the administrator.
apswd
A String indicating the password of the administrator.
Returns
RTMP/E
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.
HTTP
If the call succeeds, it returns XML like the following:
<result> <level>status</level> <code>NetConnection.Call.Success</code> <timestamp>7/24/2007 9:08:59 AM</timestamp> <data> <name>_defaultRoot_:_defaultVHost_:::_2</name> <_0>CCAoQVeF</_0> </data> </result>If the call fails, it returns XML like the following:
<result> <level>error</level> <code>NetConnection.Admin.CommandFailed</code> <timestamp>7/24/2007 9:10:11 AM</timestamp> <description>Application instance is not loaded : vo</description> </result>Note: The timestamp response over HTTP is formatted differently on Windows (9/23/2007 6:16:40 PM) and Linux (Sun 23 Sep 2007 06:16:40 PM IST).
See also