Package com.iizix.geo
Class RegionLocation.Connection
java.lang.Object
com.iizix.geo.RegionLocation.Connection
- Enclosing class:
- RegionLocation
Connection class holding information about the connection.
- Method SummaryModifier and TypeMethodDescription- booleanChecks if two Connection objects are equal.- getASN()Returns the Autonomous System Number associated with the IP, null if not defined.- getISP()Returns the name of the ISP associated with the IP, null if not defined.- int- hashCode()Returns the hash code of the connection instance.- toString()String representation of the language as "[code,name,nativeName]" where the null values are omitted.
- Method Details- getASNReturns the Autonomous System Number associated with the IP, null if not defined.- Returns:
- The ASN.
 
- getISPReturns the name of the ISP associated with the IP, null if not defined.- Returns:
- The ISP name.
 
- hashCodepublic int hashCode()Returns the hash code of the connection instance.
- equalsChecks if two Connection objects are equal.
- toStringString representation of the language as "[code,name,nativeName]" where the null values are omitted.