| Package | system.network |
| Class | public class HostnameType |
| Inheritance | HostnameType Enum Object |
| Method | Defined By | ||
|---|---|---|---|
HostnameType(value:int = 0, name:String)
Creates a new HostnameType instance. | HostnameType | ||
![]() | toSource(indent:int = 0):String
Returns the source code String representation of the object. | Enum | |
![]() | toString():String
Returns the String representation of the object. | Enum | |
![]() | valueOf():int
Returns the primitive value of the object. | Enum | |
| Constant | Defined 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 | ||
| HostnameType | () | Constructor |
public function HostnameType(value:int = 0, name:String)Creates a new HostnameType instance.
Parametersvalue:int (default = 0) — The value of the enumeration.
| |
name:String — The name key of the enumeration.
|
| basic | Constant |
public static const basic:HostnameTypeThe "basic" HostnameType value.
| DNS | Constant |
public static const DNS:HostnameTypeThe "DNS" HostnameType value.
| IPv4 | Constant |
public static const IPv4:HostnameTypeThe "IPv4" HostnameType value.
| unknown | Constant |
public static const unknown:HostnameTypeThe "unknow" HostnameType value.