Package | flash.net.dns |
Class | public class SRVRecord |
Inheritance | SRVRecord ResourceRecord Object |
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
SRV resource records are returned by a DNSResolver object as a result of a DNS lookup on a service locator. More than one record can be returned by a single lookup if more than one service host is available.
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 | ||
port : int
The port the service is using on the server. | SRVRecord | ||
priority : int
The priority of the service host identified by this record. | SRVRecord | ||
prototype : Object [static]
A reference to the prototype object of a class or function object. | Object | ||
target : String
The canonical host name of the server providing the service. | SRVRecord | ||
ttl : int
The resource time-to-live (ttl) value. | ResourceRecord | ||
weight : int
The relative weight to use when selecting from service hosts that have the same priority. | SRVRecord |
Public Methods
Method | Defined By | ||
---|---|---|---|
Creates an SRV resource record. | SRVRecord | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Property Detail
port | property |
priority | property |
target | property |
weight | property |
Constructor Detail
SRVRecord | () | Constructor |
public function SRVRecord()
Language Version: | ActionScript 3.0 |
Runtime Versions: | AIR 2 |
Creates an SRV resource record.
SRV records are obtained from a DNS lookup using the DNSResolver class. Application code should not create SRVRecord objects.
Mon Nov 28 2011, 06:48 AM -08:00