org.cybergarage.upnp.device

## Interface DeviceChangeListener

- All Known Implementing Classes:
    UPnP

      public interface DeviceChangeListener

  Interface for receiving UPnP device change notifications.

  This interface defines the contract for objects that wish to receive notifications when UPnP devices are added to or removed from a control point's device list. It provides callbacks for tracking device presence changes.

  Key features:

  - Device addition notification
  - Device removal notification
  - Real-time device tracking
  - Control point integration

  Implementations of this interface can register with UPnP control points to receive notifications when devices become available or unavailable, enabling responsive application behavior and dynamic device management.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `deviceAdded(Device dev)` Called when a UPnP device is added to the control point.
    `void` | `deviceRemoved(Device dev)` Called when a UPnP device is removed from the control point.

- - ### Method Detail

    - #### deviceAdded

          void deviceAdded(Device dev)

      Called when a UPnP device is added to the control point.
      Parameters:
        `dev` - the device that was added

    - #### deviceRemoved

          void deviceRemoved(Device dev)

      Called when a UPnP device is removed from the control point.
      Parameters:
        `dev` - the device that was removed