org.jivesoftware.openfire.server |
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Classes used for server-to-server communication.
|
Java Source File Name | Type | Comment |
OutgoingServerSocketReader.java | Class | An OutgoingServerSocketReader is responsible for reading and queueing the DOM Element sent by
a remote server. |
OutgoingSessionPromise.java | Class | An OutgoingSessionPromise provides an asynchronic way for sending packets to remote servers.
When looking for a route to a remote server that does not have an existing connection, a session
promise is returned.
This class will queue packets and process them in another thread. |
RemoteServerConfiguration.java | Class | Holds the configuration when connecting to/from a remote server. |
RemoteServerManager.java | Class | Manages the connection permissions for remote servers. |
ServerDialback.java | Class | Implementation of the Server Dialback method as defined by the RFC3920.
The dialback method follows the following logic to validate the remote server:
- The Originating Server establishes a connection to the Receiving Server.
- The Originating Server sends a 'key' value over the connection to the Receiving
Server.
- The Receiving Server establishes a connection to the Authoritative Server.
- The Receiving Server sends the same 'key' value to the Authoritative Server.
- The Authoritative Server replies that key is valid or invalid.
- The Receiving Server informs the Originating Server whether it is authenticated or
not.
By default a timeout of 20 seconds will be used for reading packets from remote servers. |