Commit 1720b365 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Added support for cancelling scheduled tasks executions.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6673 b35dd754-fafc-0310-a699-88a17e54d16e
parent be7172f9
...@@ -532,6 +532,10 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana ...@@ -532,6 +532,10 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana
} }
} }
public SocketAcceptor getSocketAcceptor() {
return socketAcceptor;
}
public int getClientListenerPort() { public int getClientListenerPort() {
return JiveGlobals.getIntProperty("xmpp.socket.plain.port", DEFAULT_PORT); return JiveGlobals.getIntProperty("xmpp.socket.plain.port", DEFAULT_PORT);
} }
...@@ -590,6 +594,10 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana ...@@ -590,6 +594,10 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana
return JiveGlobals.getIntProperty("xmpp.server.socket.port", DEFAULT_SERVER_PORT); return JiveGlobals.getIntProperty("xmpp.server.socket.port", DEFAULT_SERVER_PORT);
} }
public SocketAcceptor getMultiplexerSocketAcceptor() {
return multiplexerSocketAcceptor;
}
public void setConnectionManagerListenerPort(int port) { public void setConnectionManagerListenerPort(int port) {
if (port == getConnectionManagerListenerPort()) { if (port == getConnectionManagerListenerPort()) {
// Ignore new setting // Ignore new setting
......
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