Package | flash.net.dns |
Class | public class ResourceRecord |
Inheritance | ResourceRecord Object |
Subclasses | AAAARecord, ARecord, MXRecord, PTRRecord, SRVRecord |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
DNS resource records are returned by a DNSResolver object as a result of a DNS lookup.
Related API Elements
Public Properties
Property | Defined By | ||
---|---|---|---|
constructor : Object
A reference to the class object or constructor function for a given object instance. | Object | ||
name : String
The query string used to look up this resource record. | ResourceRecord | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
ttl : int
The resource time-to-live (ttl) value. | ResourceRecord |
Public Methods
Property Detail
name | property |
ttl | property |
ttl:int
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
The resource time-to-live (ttl) value.
The length of time (in seconds) that the resource record is valid. Records should not be cached for longer than this value. A ttl of zero means the record is volatile and must not be cached. A ttl less than zero means that the resource record is not valid.
Implementation
public function get ttl():int
public function set ttl(value:int):void
Mon Nov 28 2011, 06:48 AM -08:00