Package org.jupnp.model.meta
Klasse RemoteDeviceIdentity
java.lang.Object
org.jupnp.model.meta.DeviceIdentity
org.jupnp.model.meta.RemoteDeviceIdentity
- Alle implementierten Schnittstellen:
Validatable
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
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungRemoteDeviceIdentity(IncomingNotificationRequest notificationRequest) RemoteDeviceIdentity(IncomingSearchResponse searchResponse) RemoteDeviceIdentity(UDN udn, Integer maxAgeSeconds, URL descriptorURL, byte[] interfaceMacAddress, InetAddress discoveredOnLocalAddress) RemoteDeviceIdentity(UDN udn, RemoteDeviceIdentity template) -
Methodenübersicht
Von Klasse geerbte Methoden org.jupnp.model.meta.DeviceIdentity
equals, getMaxAgeSeconds, getUdn, hashCode, validate
-
Konstruktordetails
-
RemoteDeviceIdentity
-
RemoteDeviceIdentity
public RemoteDeviceIdentity(UDN udn, Integer maxAgeSeconds, URL descriptorURL, byte[] interfaceMacAddress, InetAddress discoveredOnLocalAddress) -
RemoteDeviceIdentity
-
RemoteDeviceIdentity
-
-
Methodendetails
-
getDescriptorURL
-
getInterfaceMacAddress
public byte[] getInterfaceMacAddress() -
getDiscoveredOnLocalAddress
-
getWakeOnLANBytes
public byte[] getWakeOnLANBytes() -
toString
- Setzt außer Kraft:
toStringin KlasseDeviceIdentity
-