t.w.p.j.x.ListenAuthenticator(Authenticator) : class documentation

Part of twisted.words.protocols.jabber.xmlstream View Source View In Hierarchy

Known subclasses: twisted.words.protocols.jabber.component.ListenComponentAuthenticator

Authenticator for receiving entities.
Method associateWithStream Called by the XmlStreamFactory when a connection has been made.
Method streamStarted Called by the XmlStream when the stream has started.

Inherited from Authenticator:

Instance Variable xmlstream The XmlStream that needs authentication (type: XmlStream)
Method __init__ Undocumented
Method connectionMade Called by the XmlStream when the underlying socket connection is in place.
def associateWithStream(self, xmlstream): (source)
Called by the XmlStreamFactory when a connection has been made.

Extend Authenticator.associateWithStream to set the XmlStream to be non-initiating.

def streamStarted(self, rootElement): (source)
Called by the XmlStream when the stream has started.

This extends Authenticator.streamStarted to extract further information from the stream headers from rootElement.

API Documentation for Twisted, generated by pydoctor at 2013-11-08 22:07:30.