Klasse Location

java.lang.Object
org.jupnp.model.Location

public class Location extends Object
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.

Autor:
Christian Bauer
  • Felddetails

    • networkAddress

      protected final NetworkAddress networkAddress
    • path

      protected final String path
    • url

      protected final URL url
  • Konstruktordetails

  • Methodendetails

    • getNetworkAddress

      public NetworkAddress getNetworkAddress()
    • getPath

      public String getPath()
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • getURL

      public URL getURL()
      Gibt zurück:
      An HTTP URL with the address, port, and path of this location.