Commented out all logging messages from the pick code to speed up message transfer.
[vamsas.git] / src / uk / ac / vamsas / client / picking / SocketManager.java
index f4f4ab7..edfd573 100644 (file)
@@ -64,7 +64,7 @@ public class SocketManager implements IPickManager
                if (client.openConnection())\r
                {\r
                        clients.add(client);\r
-                       logger.info("List now contains " + clients.size() + " client(s)");\r
+                       //logger.info("List now contains " + clients.size() + " client(s)");\r
                        return true;\r
                }\r
                \r
@@ -113,8 +113,8 @@ public class SocketManager implements IPickManager
                        \r
                if (msgHandler != null)\r
                        msgHandler.handleMessage(message);\r
-               else\r
-                       logger.info("No handler available to deal with incoming message");\r
+//             else\r
+//                     logger.info("No handler available to deal with incoming message");\r
        }\r
        \r
        /**\r
@@ -125,7 +125,7 @@ public class SocketManager implements IPickManager
        synchronized void removeEndPoint(PickEndPoint client)\r
        {\r
                clients.remove(client);\r
-               logger.info("List now contains " + clients.size() + " client(s)");\r
+               //logger.info("List now contains " + clients.size() + " client(s)");\r
                \r
                // If there's no endpoints left, then we've lost all connections and\r
                // need to reinitialize\r
@@ -140,7 +140,7 @@ public class SocketManager implements IPickManager
        {\r
                public void run()\r
                {\r
-                       logger.info("Initializing connection...");\r
+                       //logger.info("Initializing connection...");\r
                        boolean connected = false;\r
                        \r
                        // Loop until we can get a connection (one way or the other)\r