upnp.UPnP module¶
-
class
upnp.UPnP.
Annoncer
(device, httpPort=5000, netBind='0.0.0.0')¶ Bases:
upnp.UPnP.Announcer
-
class
upnp.UPnP.
Announcer
(device, httpPort=5000, netBind='0.0.0.0')¶ Bases:
object
Annoncer main class
-
bye
()¶ Send BYE SSP packets on the network
-
dispose
()¶ Clear loop
-
foreaver
()¶ Run loop forever (test)
-
initLoop
(loop=None)¶ Initialise an asyncio loop to handle network packages
Parameters: loop (asyncio.AbstractEventLoop) – An asyncio event loop to initialise
-
notify
()¶ Send NOTIFY SSDP packets on the network to announce a new device
-