Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
flash.net.dns 
PTRRecord 
Packageflash.net.dns
Classpublic class PTRRecord
InheritancePTRRecord Inheritance ResourceRecord Inheritance Object

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The PTRRecord class represents a Domain Name System (DNS) PTR resource record containing a canonical domain name.

PTR resource records are returned by a DNSResolver object as a result of a DNS lookup of an IP address.

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritedAIR-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 ptrdName : String
The canonical domain name assigned to the query IP address.
PTRRecord
 InheritedAIR-only ttl : int
The resource time-to-live (ttl) value.
ResourceRecord
Public Methods
 MethodDefined By
  
Creates a PTR resource record.
PTRRecord
 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 

ptrdName

property
ptrdName:String

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

The canonical domain name assigned to the query IP address.



Implementation
    public function get ptrdName():String
    public function set ptrdName(value:String):void
Constructor Detail
AIR-only 

PTRRecord

()Constructor
public function PTRRecord()

Language Version: ActionScript 3.0
Runtime Versions: AIR 2

Creates a PTR resource record.

PTR records are obtained from a DNS lookup using the DNSResolver class. Application code should not create PTRRecord objects.