

def onAuthenticated(self, xs):
    '\n        Called when a component has succesfully authenticated.\n\n        Add the component to the routing table and establish a handler\n        for a closed connection.\n        '
    destination = xs.thisEntity.host
    self.router.addRoute(destination, xs)
    xs.addObserver(xmlstream.STREAM_END_EVENT, xs.onConnectionLost, 0, destination, xs)

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/component.py XMPPComponentServerFactory.onAuthenticated/VarMisuse@41/108 `self`->`xs`