Klasse RemoteDeviceIdentity

java.lang.Object
org.jupnp.model.meta.DeviceIdentity
org.jupnp.model.meta.RemoteDeviceIdentity
Alle implementierten Schnittstellen:
Validatable

public class RemoteDeviceIdentity extends DeviceIdentity
Additional identifying information only relevant for discovered remote devices.

This information always includes the URL of the device's descriptor, and the local network interface address we should use in the future, because it is guaranteed to be reachable by this remote device (e.g. when we build a local callback URL).

Optional is the remote hosts interface MAC hardware address. If we have it, we can use it to send Wake-On-LAN broadcasts if we think the remote host is not reachable and might be sleeping. (Useful for "stateless" reconnecting control points.)

Autor:
Christian Bauer
  • Konstruktordetails

  • Methodendetails

    • getDescriptorURL

      public URL getDescriptorURL()
    • getInterfaceMacAddress

      public byte[] getInterfaceMacAddress()
    • getDiscoveredOnLocalAddress

      public InetAddress getDiscoveredOnLocalAddress()
    • getWakeOnLANBytes

      public byte[] getWakeOnLANBytes()
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse DeviceIdentity