def __init__(self, file_xml): ProxyCoAP.__init__(self) self._mapping = {} root = Resource('root', visible=False, observable=False, allow_children=True) root.path = '/' self.root = Tree(root) self.file_xml = file_xml
def __init__(self, host, port, client): ProxyCoAP.__init__(self, (host, port), client) print "CoAP Forward Proxy start on " + host + ":" + str(port)