def __init__(self): """ Initialise internal variables. """ PlugIn.__init__(self) self.DBG_LINE='ibb' self._exported_methods=[self.OpenStream] self._streams={} self._ampnode=Node(NS_AMP+' amp',payload=[Node('rule',{'condition':'deliver-at','value':'stored','action':'error'}),Node('rule',{'condition':'match-resource','value':'exact','action':'error'})])
def __init__(self): """ Initialise internal variables. """ PlugIn.__init__(self) self.DBG_LINE = "ibb" self._exported_methods = [self.OpenStream] self._streams = {} self._ampnode = Node( NS_AMP + " amp", payload=[ Node("rule", {"condition": "deliver-at", "value": "stored", "action": "error"}), Node("rule", {"condition": "match-resource", "value": "exact", "action": "error"}), ], )