def onAuthenticated(self, xs):
        destination = xs.thisEntity.host

        self.router.addRoute(destination, xs)
        xs.addObserver(xmlstream.STREAM_END_EVENT, self.onConnectionLost, 0,
                                                   destination, xs)
Called when a component has succesfully authenticated.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/component.py/XMPPComponentServerFactory.onAuthenticated