wokkel.serverView Source (View In Hierarchy)
Authenticator for an outgoing XMPP server-to-server connection.
This authenticator connects to
otherHost (the Receiving
Server) and then initiates dialback as
Originating Server) using
|Instance Variable||thisHost||The domain this server connects from (the Originating Server) .|
|Instance Variable||otherHost||The domain of the server this server connects to (the Receiving Server).|
|Instance Variable||secret||The shared secret that is used for verifying the validity of this new connection.|
|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: |