Esempio n. 1
0
 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'})])
Esempio n. 2
0
 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'})])
Esempio n. 3
0
 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"}),
         ],
     )