public interface ConnectionManager
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_COMPONENT_PORT
The default XMPP port for external components.
|
static int |
DEFAULT_COMPONENT_SSL_PORT
The XMPP port for external components using SSL traffic.
|
static int |
DEFAULT_MULTIPLEX_PORT
The default XMPP port for connection multiplex.
|
static int |
DEFAULT_MULTIPLEX_SSL_PORT
The default XMPP port for connection multiplex.
|
static int |
DEFAULT_PORT
The default XMPP port for clients.
|
static int |
DEFAULT_SERVER_PORT
The default XMPP port for server2server communication, optionally using StartTLS.
|
static int |
DEFAULT_SERVER_SSL_PORT
The default XMPP port for server2server communication using Direct TLS.
|
static int |
DEFAULT_SSL_PORT
The default legacy Jabber port for SSL traffic.
|
Modifier and Type | Method and Description |
---|---|
void |
enableClientListener(boolean enabled)
Sets if the port listener for unsecured clients will be available or not.
|
void |
enableClientSSLListener(boolean enabled)
Sets if the port listener for secured clients will be available or not.
|
void |
enableComponentListener(boolean enabled)
Sets if the port listener for external components will be available or not.
|
void |
enableConnectionManagerListener(boolean enabled)
Sets if the port listener for connection managers will be available or not.
|
void |
enableServerListener(boolean enabled)
Sets if the port listener for remote servers will be available or not.
|
int |
getClientListenerPort()
Returns the port to use for unsecured clients.
|
int |
getClientSSLListenerPort()
Returns the port to use for secured clients.
|
int |
getComponentListenerPort()
Returns the port to use for external components.
|
int |
getConnectionManagerListenerPort()
Returns the port to use for remote servers.
|
Collection<ServerPort> |
getPorts()
Returns an array of the ports managed by this connection manager.
|
int |
getServerListenerPort()
Returns the port to use for remote servers.
|
int |
getServerSslListenerPort()
Returns the port to use for remote servers.
|
boolean |
isClientListenerEnabled()
Returns true if the port listener for unsecured clients is available.
|
boolean |
isClientSSLListenerEnabled()
Returns true if the port listener for secured clients is available.
|
boolean |
isComponentListenerEnabled()
Returns true if the port listener for external components is available.
|
boolean |
isConnectionManagerListenerEnabled()
Returns true if the port listener for connection managers is available.
|
boolean |
isServerListenerEnabled()
Returns true if the port listener for remote servers is available.
|
void |
setClientListenerPort(int port)
Sets the port to use for unsecured clients.
|
void |
setClientSSLListenerPort(int port)
Sets the port to use for secured clients.
|
void |
setComponentListenerPort(int port)
Sets the port to use for external components.
|
void |
setConnectionManagerListenerPort(int port)
Sets the port to use for connection managers.
|
void |
setServerListenerPort(int port)
Sets the port to use for remote servers.
|
void |
setServerSslListenerPort(int port)
Sets the port to use for remote servers.
|
static final int DEFAULT_PORT
static final int DEFAULT_SSL_PORT
static final int DEFAULT_COMPONENT_PORT
static final int DEFAULT_COMPONENT_SSL_PORT
static final int DEFAULT_SERVER_PORT
static final int DEFAULT_SERVER_SSL_PORT
static final int DEFAULT_MULTIPLEX_PORT
static final int DEFAULT_MULTIPLEX_SSL_PORT
Collection<ServerPort> getPorts()
void enableClientListener(boolean enabled)
enabled
- true if new unsecured clients will be able to connect to the server.boolean isClientListenerEnabled()
void enableClientSSLListener(boolean enabled)
enabled
- true if new secured clients will be able to connect to the server.boolean isClientSSLListenerEnabled()
void enableComponentListener(boolean enabled)
enabled
- true if new external components will be able to connect to the server.boolean isComponentListenerEnabled()
void enableServerListener(boolean enabled)
enabled
- true if new remote servers will be able to connect to the server.boolean isServerListenerEnabled()
void enableConnectionManagerListener(boolean enabled)
enabled
- true if new connection managers will be able to connect to the server.boolean isConnectionManagerListenerEnabled()
void setClientListenerPort(int port)
port
- the port to use for unsecured clients.int getClientListenerPort()
void setClientSSLListenerPort(int port)
port
- the port to use for secured clients.int getClientSSLListenerPort()
void setComponentListenerPort(int port)
port
- the port to use for external components.int getComponentListenerPort()
void setServerListenerPort(int port)
port
- the port to use for remote servers.int getServerListenerPort()
void setServerSslListenerPort(int port)
port
- the port to use for remote servers.int getServerSslListenerPort()
void setConnectionManagerListenerPort(int port)
port
- the port to use for connection managers.int getConnectionManagerListenerPort()
Copyright © 2003–2019 Ignite Realtime. All rights reserved.