| Package | net.guttershark.akamai |
| Class | public class Ident |
| Implements | IDisposable |
See also
| Property | Defined by | ||
|---|---|---|---|
| contentLoader : URLLoader [read-only]
The loader used to load XML from the Akamai ident service.
| Ident | ||
| ip : String
The IP address that was found from the Akamai Ident Service.
| Ident | ||
| Method | Defined by | ||
|---|---|---|---|
|
Ident()
Constructor for Ident instances.
| Ident | ||
|
dispose():void
Dispose of this Ident instance.
| Ident | ||
|
findBestIPForAkamaiApplication(akamaiAppURL:String):void
Find the best IP for an Akamai Application.
| Ident | ||
| contentLoader | property |
contentLoader:URLLoader [read-only]The loader used to load XML from the Akamai ident service.
Implementation public function get contentLoader():URLLoader
| ip | property |
public var ip:StringThe IP address that was found from the Akamai Ident Service.
| Ident | () | constructor |
public function Ident()Constructor for Ident instances.
| dispose | () | method |
public function dispose():voidDispose of this Ident instance.
| findBestIPForAkamaiApplication | () | method |
public function findBestIPForAkamaiApplication(akamaiAppURL:String):voidFind the best IP for an Akamai Application.
ParametersakamaiAppURL:String — Your akamai application URI.
|
See also
import net.guttershark.akamai.AkamaiNCManager;
import net.guttershark.akamai.Ident;
import flash.events.Event;
var i:Ident = new Ident();
i.contentLoader.addEventListener(Event.COMPLETE, onc);
function onc(e:Event):void
{
trace(e.target.data.ip);
trace(i.ip);
AkamaiNCManager.FMS_IP = i.ip;
}
i.findBestIPForAkamaiApplication("http://cp44952.edgefcs.net/");