org.fourthline.cling.model.meta
Class RemoteDeviceIdentity
java.lang.Object
org.fourthline.cling.model.meta.DeviceIdentity
org.fourthline.cling.model.meta.RemoteDeviceIdentity
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.)
- Author:
- Christian Bauer
RemoteDeviceIdentity
public RemoteDeviceIdentity(UDN udn,
RemoteDeviceIdentity template)
RemoteDeviceIdentity
public RemoteDeviceIdentity(UDN udn,
Integer maxAgeSeconds,
URL descriptorURL,
byte[] interfaceMacAddress,
InetAddress discoveredOnLocalAddress)
RemoteDeviceIdentity
public RemoteDeviceIdentity(IncomingNotificationRequest notificationRequest)
RemoteDeviceIdentity
public RemoteDeviceIdentity(IncomingSearchResponse searchResponse)
getDescriptorURL
public URL getDescriptorURL()
getInterfaceMacAddress
public byte[] getInterfaceMacAddress()
getDiscoveredOnLocalAddress
public InetAddress getDiscoveredOnLocalAddress()
getWakeOnLANBytes
public byte[] getWakeOnLANBytes()
toString
public String toString()
- Overrides:
toString
in class DeviceIdentity
Copyright © 2013 4th Line GmbH, Switzerland. All Rights Reserved.