|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.UCL.satin.impl.remotecomponents.Location edu.UCL.satin.impl.advertising.location.IPLocation
Represents a Location with an IP address
Field Summary | |
private java.lang.String |
ipaddress
|
Constructor Summary | |
IPLocation(java.lang.String ip)
Instantiates an IPLocation |
Method Summary | |
java.lang.String |
asString()
|
static IPLocation |
generateLocalLocation()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private final java.lang.String ipaddress
Constructor Detail |
public IPLocation(java.lang.String ip)
ip
- the IP address of the LocationMethod Detail |
public static IPLocation generateLocalLocation() throws java.net.UnknownHostException
java.net.UnknownHostException
public java.lang.String asString()
asString
in class Location
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |