Authenticator for an outgoing connection to verify an incoming connection.

This authenticator connects to otherHost (the Authoritative Server) and then initiates dialback as thisHost (the Receiving Server) using ReceivingDialbackInitializer.

Instance Variable thisHost The domain this server connects from (the Receiving Server) .
Instance Variable otherHost The domain of the server this server connects to (the Authoritative Server).
Instance Variable originalStreamID The stream ID of the incoming connection that is being verified.
Instance Variable key The key provided by the Receving Server to be verified.
Method __init__ Undocumented
Method connectionMade Called by the XmlStream when the underlying socket connection is in place.
Method associateWithStream Called by the XmlStreamFactory when a connection has been made to the requested peer, and an XmlStream object has been instantiated.

Inherited from ConnectAuthenticator:

Method initializeStream Perform stream initialization procedures.
Method streamStarted Called by the XmlStream when the stream has started.

Inherited from Authenticator (via ConnectAuthenticator):

Instance Variable xmlstream The XmlStream that needs authentication (type: XmlStream)
thisHost =
The domain this server connects from (the Receiving Server) .
otherHost =
The domain of the server this server connects to (the Authoritative Server).
originalStreamID =
The stream ID of the incoming connection that is being verified.
key =
The key provided by the Receving Server to be verified.
def __init__(self, thisHost, otherHost, originalStreamID, key): (source)
def connectionMade(self): (source)

Called by the XmlStream when the underlying socket connection is in place.

This allows the Authenticator to send an initial root element, if it's connecting, or wait for an inbound root from the peer if it's accepting the connection.

Subclasses can use self.xmlstream.send() to send any initial data to the peer.

def associateWithStream(self, xs): (source)

Called by the XmlStreamFactory when a connection has been made to the requested peer, and an XmlStream object has been instantiated.

The default implementation just saves a handle to the new XmlStream.

ParametersxmlstreamThe XmlStream that will be passing events to this Authenticator. (type: XmlStream)
API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.