Packagesystem.network
Classpublic class HostnameType
InheritanceHostnameType Inheritance Enum Inheritance Object

The enumeration class of all host name types.



Public Methods
 MethodDefined By
  
HostnameType(value:int = 0, name:String)
Creates a new HostnameType instance.
HostnameType
 Inherited
toSource(indent:int = 0):String
Returns the source code String representation of the object.
Enum
 Inherited
toString():String
Returns the String representation of the object.
Enum
 Inherited
valueOf():int
Returns the primitive value of the object.
Enum
Public Constants
 ConstantDefined By
  basic : HostnameType
[static] The "basic" HostnameType value.
HostnameType
  DNS : HostnameType
[static] The "DNS" HostnameType value.
HostnameType
  IPv4 : HostnameType
[static] The "IPv4" HostnameType value.
HostnameType
  unknown : HostnameType
[static] The "unknow" HostnameType value.
HostnameType
Constructor Detail
HostnameType()Constructor
public function HostnameType(value:int = 0, name:String)

Creates a new HostnameType instance.

Parameters
value:int (default = 0) — The value of the enumeration.
 
name:String — The name key of the enumeration.
Constant Detail
basicConstant
public static const basic:HostnameType

The "basic" HostnameType value.

DNSConstant 
public static const DNS:HostnameType

The "DNS" HostnameType value.

IPv4Constant 
public static const IPv4:HostnameType

The "IPv4" HostnameType value.

unknownConstant 
public static const unknown:HostnameType

The "unknow" HostnameType value.