def onElement(self, elm): print "routing element", elm.toXml() JabberComponent.onElement(self, elm)
def startService(self): JabberComponent.startService(self) for event, fn in self.bootstraps: self.addObserver(event, fn)
def __init__(self, *args, **kw): JabberComponent.__init__(self, *args, **kw) self.bootstraps = [ (self.NAMED_ROUTE, self.onNamedRoute) ]
def __init__(self, *args, **kw): JabberComponent.__init__(self, *args, **kw) self.bootstraps = [(self.NAMED_ROUTE, self.onNamedRoute)]