All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ocap.hn.upnp.client.UPnPClientDeviceListener Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package org.ocap.hn.upnp.client;

/**
 * This interface represents a listener to UPnP device availability on a home
 * network.
 *
 * @see org.ocap.hn.upnp.server.UPnPManagedDeviceListener
 */
public interface UPnPClientDeviceListener extends java.util.EventListener
{

    /**
     * Notifies the listener that a UPnP device was added to a home network.
     *
     * @param device The UPnPDevice that was added.
     */
    public void notifyDeviceAdded(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. 
     *
     * @param device The UPnPDevice that was removed.
     */
    public void notifyDeviceRemoved(UPnPClientDevice device);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy