Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.net.dns 
ResourceRecord 
Packageflash.net.dns
Classpublic class ResourceRecord
InheritanceResourceRecord Inheritance Object
Subclasses AAAARecord, ARecord, MXRecord, PTRRecord, SRVRecord

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The ResourceRecord class is the base class for Domain Name System (DNS) resource record classes.

DNS resource records are returned by a DNSResolver object as a result of a DNS lookup.

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  AIR-only name : String
The query string used to look up this resource record.
ResourceRecord
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  AIR-only ttl : int
The resource time-to-live (ttl) value.
ResourceRecord
Public Methods
 MethodDefined By
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
AIR-only 

name

property
name:String

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The query string used to look up this resource record.



Implementation
    public function get name():String
    public function set name(value:String):void
AIR-only 

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