YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
org.fourthline.cling.model.Location Class Reference

The IP address/port, MAC address, and URI path of a (network) location. More...

Collaboration diagram for org.fourthline.cling.model.Location:
Collaboration graph

Public Member Functions

 Location (NetworkAddress networkAddress, String path)
 
NetworkAddress getNetworkAddress ()
 
String getPath ()
 
boolean equals (Object o)
 
int hashCode ()
 
URL getURL ()
 

Protected Attributes

final NetworkAddress networkAddress
 
final String path
 
final URL url
 

Detailed Description

The IP address/port, MAC address, and URI path of a (network) location.

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.

Author
Christian Bauer

Member Function Documentation

◆ getURL()

URL org.fourthline.cling.model.Location.getURL ( )
Returns
An HTTP URL with the address, port, and path of this location.

The documentation for this class was generated from the following file: