Packageipinfodb.data
Classpublic class clsIPinfodb
InheritanceclsIPinfodb Inheritance Object

Creates a new IPLocation object. This object contains all the information about a the location of a IP Adress



Public Properties
 PropertyDefined By
  city : String
clsIPinfodb
  countryCode : String
clsIPinfodb
  countryName : String
clsIPinfodb
  ip : String
clsIPinfodb
  lat : Number
clsIPinfodb
  lon : Number
clsIPinfodb
  regionCode : Number
clsIPinfodb
  regionName : String
clsIPinfodb
Public Methods
 MethodDefined By
  
clsIPinfodb(_ip:String, _countryCode:String, _countryName:String, _regionCode:Number = 0, _regionName:String, _city:String, _lat:Number = 0, _lon:Number = 0)
Basic constructor for a new Configuration instance
clsIPinfodb
  
toTestString():String
A test method that returns the properties of the IPLocation object to a String.
clsIPinfodb
  
A test method that traces the properties of the IPLocation object.
clsIPinfodb
Property Detail
cityproperty
city:String  [read-write]


Implementation
    public function get city():String
    public function set city(value:String):void
countryCodeproperty 
countryCode:String  [read-write]


Implementation
    public function get countryCode():String
    public function set countryCode(value:String):void
countryNameproperty 
countryName:String  [read-write]


Implementation
    public function get countryName():String
    public function set countryName(value:String):void
ipproperty 
ip:String  [read-write]


Implementation
    public function get ip():String
    public function set ip(value:String):void
latproperty 
lat:Number  [read-write]


Implementation
    public function get lat():Number
    public function set lat(value:Number):void
lonproperty 
lon:Number  [read-write]


Implementation
    public function get lon():Number
    public function set lon(value:Number):void
regionCodeproperty 
regionCode:Number  [read-write]


Implementation
    public function get regionCode():Number
    public function set regionCode(value:Number):void
regionNameproperty 
regionName:String  [read-write]


Implementation
    public function get regionName():String
    public function set regionName(value:String):void
Constructor Detail
clsIPinfodb()Constructor
public function clsIPinfodb(_ip:String, _countryCode:String, _countryName:String, _regionCode:Number = 0, _regionName:String, _city:String, _lat:Number = 0, _lon:Number = 0)

Basic constructor for a new Configuration instance

Parameters
_ip:String — the current IPLocation
 
_countryCode:String — the country code of the current IPLocation
 
_countryName:String — the country name of the current IPLocation
 
_regionCode:Number (default = 0) — the region code of the current IPLocation
 
_regionName:String — the region name of the current IPLocation
 
_city:String — the city of the current IPLocation
 
_lat:Number (default = 0) — the lat number of the current IPLocation
 
_lon:Number (default = 0) — the lon number of the current IPLocation
Method Detail
toTestString()method
public function toTestString():String

A test method that returns the properties of the IPLocation object to a String.

Returns
String — String result of the output as a String variable
toTestTrace()method 
public function toTestTrace():void

A test method that traces the properties of the IPLocation object.