# Licensed under the MIT license # http://opensource.org/licenses/mit-license.php # (c) 2005, Tim Potter # Connection Manager service from twisted.python import log from twisted.web import resource, static, soap from upnp import UPnPPublisher class ConnectionManagerControl(UPnPPublisher): pass class ConnectionManagerServer(resource.Resource): def __init__(self): resource.Resource.__init__(self) self.putChild('scpd.xml', static.File('connection-manager-scpd.xml')) self.putChild('control', ConnectionManagerControl())