public class Location extends Object
Used when sending messages about local devices and services to other UPnP participants on the network, such as where our device/service descriptors can be found or what callback address to use for event message delivery. We also let them know our MAC hardware address so they can wake us up from sleep with Wake-On-LAN if necessary.
Modifier and Type | Field and Description |
---|---|
protected NetworkAddress |
networkAddress |
protected String |
path |
protected URL |
url |
Constructor and Description |
---|
Location(NetworkAddress networkAddress,
String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
NetworkAddress |
getNetworkAddress() |
String |
getPath() |
URL |
getURL() |
int |
hashCode() |
protected final NetworkAddress networkAddress
protected final String path
protected final URL url
public Location(NetworkAddress networkAddress, String path)
public NetworkAddress getNetworkAddress()
public String getPath()
public URL getURL()
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.