Commit 8485752d authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Moved default ports to interface.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6575 b35dd754-fafc-0310-a699-88a17e54d16e
parent 9a134057
...@@ -24,6 +24,27 @@ import java.util.Iterator; ...@@ -24,6 +24,27 @@ import java.util.Iterator;
*/ */
public interface ConnectionManager { public interface ConnectionManager {
/**
* The default XMPP port for clients.
*/
final int DEFAULT_PORT = 5222;
/**
* The default Jabber socket
*/
final int DEFAULT_SSL_PORT = 5223;
/**
* The default XMPP port for external components.
*/
final int DEFAULT_COMPONENT_PORT = 5275;
/**
* The default XMPP port for server2server communication.
*/
final int DEFAULT_SERVER_PORT = 5269;
/**
* The default XMPP port for connection multiplex.
*/
final int DEFAULT_MULTIPLEX_PORT = 5262;
/** /**
* Returns an array of the ports managed by this connection manager. * Returns an array of the ports managed by this connection manager.
* *
......
...@@ -29,26 +29,6 @@ import java.net.InetAddress; ...@@ -29,26 +29,6 @@ import java.net.InetAddress;
*/ */
public class SocketAcceptThread extends Thread { public class SocketAcceptThread extends Thread {
/**
* The default XMPP port for clients.
*/
public static final int DEFAULT_PORT = 5222;
/**
* The default XMPP port for external components.
*/
public static final int DEFAULT_COMPONENT_PORT = 10015;
/**
* The default XMPP port for server2server communication.
*/
public static final int DEFAULT_SERVER_PORT = 5269;
/**
* The default XMPP port for connection multiplex.
*/
public static final int DEFAULT_MULTIPLEX_PORT = 5262;
/** /**
* Holds information about the port on which the server will listen for connections. * Holds information about the port on which the server will listen for connections.
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment