org.ocap.hn.upnp.client
Interface UPnPClientDeviceListener

All Superinterfaces:
EventListener

public interface UPnPClientDeviceListener
extends EventListener

This interface represents a listener to UPnP device availability on a home network.

See Also:
UPnPManagedDeviceListener

Method Summary
 void notifyDeviceAdded(UPnPClientDevice device)
          Notifies the listener that a UPnP device was added to a home network.
 void notifyDeviceRemoved(UPnPClientDevice device)
          Notifies the listener that a UPnP device was removed from a home network, or did not renew its advertisement prior to expiration of the prior advertisement.
 

Method Detail

notifyDeviceAdded

void notifyDeviceAdded(UPnPClientDevice device)
Notifies the listener that a UPnP device was added to a home network.

Parameters:
device - The UPnPDevice that was added.

notifyDeviceRemoved

void notifyDeviceRemoved(UPnPClientDevice device)
Notifies the listener that a UPnP device was removed from a home network, or did not renew its advertisement prior to expiration of the prior advertisement.

Parameters:
device - The UPnPDevice that was removed.


Copyright © 2011. All Rights Reserved.