

def initialize(self):
    xs = self.xmlstream
    hs = domish.Element((self.xmlstream.namespace, 'handshake'))
    hs.addContent(xmlstream.hashPassword(xs.sid, unicode(xs.authenticator.password)))
    xs.addOnetimeObserver('/handshake', self._cbHandshake)
    xs.send(hs)
    self._deferred = defer.Deferred()
    return self._deferred

dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/protocols/jabber/component.py ComponentInitiatingInitializer.initialize/original