Commit 21ef817f authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gaston

Added tracking of sending operations. JM-297


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/branches/jive_messenger_2_1_branch@1407 b35dd754-fafc-0310-a699-88a17e54d16e
parent be674144
...@@ -150,6 +150,7 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana ...@@ -150,6 +150,7 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana
isStarted = true; isStarted = true;
serverName = server.getServerInfo().getName(); serverName = server.getServerInfo().getName();
createSocket(); createSocket();
SocketSendingTracker.getInstance().start();
} }
public void stop() { public void stop() {
...@@ -162,6 +163,7 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana ...@@ -162,6 +163,7 @@ public class ConnectionManagerImpl extends BasicModule implements ConnectionMana
sslSocketThread.shutdown(); sslSocketThread.shutdown();
sslSocketThread = null; sslSocketThread = null;
} }
SocketSendingTracker.getInstance().shutdown();
serverName = null; serverName = null;
} }
} }
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