def handshakeHandler(self,disp,stanza):
        if stanza.getName()=='handshake': self.handshake=1
        else: self.handshake=-1
Handler for registering in dispatcher for accepting transport authentication.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/auth.py/NonSASL.handshakeHandler