coherence.upnp.devices.internet_gateway_device_client (module)

InternetGatewayDeviceClient

A class representing an embedded WAN’s Device.

class InternetGatewayDeviceClient(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.DeviceClient.detection_completed => device_client_detection_completed

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

logCategory = 'igd_client'
detection_completed

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

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