[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/connection ...
Ron Sigal
ron_sigal at yahoo.com
Sat Nov 11 23:30:18 EST 2006
User: rsigal
Date: 06/11/11 23:30:18
Modified: src/tests/org/jboss/test/remoting/transport/socket/connection
SocketTestClient.java
Log:
JBREM-631: Added logging.
Revision Changes Path
1.8 +5 -1 JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/connection/SocketTestClient.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SocketTestClient.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/socket/connection/SocketTestClient.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- SocketTestClient.java 11 Nov 2006 22:34:58 -0000 1.7
+++ SocketTestClient.java 12 Nov 2006 04:30:18 -0000 1.8
@@ -22,6 +22,8 @@
package org.jboss.test.remoting.transport.socket.connection;
import junit.framework.TestCase;
+
+import org.jboss.logging.Logger;
import org.jboss.remoting.Client;
import org.jboss.remoting.InvokerLocator;
@@ -30,6 +32,7 @@
*/
public class SocketTestClient extends TestCase
{
+ private static Logger log = Logger.getLogger(SocketTestClient.class);
// Default locator values
private static String transport = "socket";
private static String host = "localhost";
@@ -71,7 +74,8 @@
{
response = remotingClient.invoke(request);
// System.out.println("Invocation response: " + response);
- System.out.println(x);
+ if ((x+1) % 100 == 0)
+ log.info(new Integer(x));
}
long endTime = System.currentTimeMillis();
More information about the jboss-cvs-commits
mailing list