wokkel.serverView Source (View In Hierarchy)
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
|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||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.|
|Instance Variable||xmlstream||The XmlStream that needs authentication (type:
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.
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.
|Parameters||xmlstream||The XmlStream that will be passing events to this Authenticator. (type: |