coherence.upnp.devices.wan_device_client (module)

WANDeviceClient

A class representing an embedded device with a WAN client.

class WANDeviceClient(device)[source]

Bases: eventdispatcher.eventdispatcher.EventDispatcher, coherence.log.LogAble

    Changed in version 0.9.0:
  • Introduced inheritance from EventDispatcher

  • The emitted events changed:

    • Coherence.UPnP.EmbeddedDeviceClient.detection_completed => embedded_device_client_detection_completed

  • Changed some class variable to benefit from the EventDispatcher’s properties:

logCategory = 'wan_device_client'
embedded_device_detection_completed

To know whenever the embedded device detection has completed. Defaults to False and it will be set automatically to True by the class method embedded_device_notified().

service_detection_completed

To know whenever the service detection has completed. Defaults to False and it will be set automatically to True by the class method service_notified().

remove()[source]
embedded_device_notified(device)[source]
service_notified(service)[source]