[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/socket ...
Ron Sigal
ron_sigal at yahoo.com
Sun Feb 4 23:16:16 EST 2007
User: rsigal
Date: 07/02/04 23:16:16
Modified: src/main/org/jboss/remoting/transport/socket
ServerThread.java
Log:
JBREM-692: Made socketWrapper from doRun() an instance variable.
Revision Changes Path
1.34 +2 -3 JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerThread.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ServerThread.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerThread.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- ServerThread.java 3 Feb 2007 05:17:21 -0000 1.33
+++ ServerThread.java 5 Feb 2007 04:16:16 -0000 1.34
@@ -64,7 +64,7 @@
* @author <a href="mailto:tom at jboss.org">Tom Elrod</a>
* @author <a href="mailto:ovidiu at jboss.org">Ovidiu Feodorov</a>
*
- * @version $Revision: 1.33 $
+ * @version $Revision: 1.34 $
*/
public class ServerThread extends Thread
{
@@ -99,6 +99,7 @@
private int timeout;
protected SocketServerInvoker invoker;
private Constructor serverSocketConstructor;
+ protected SocketWrapper socketWrapper;
protected Marshaller marshaller;
protected UnMarshaller unmarshaller;
@@ -350,8 +351,6 @@
// lazy initialize the socketWrapper on the worker thread itself. We do this to avoid to have
// it done on the acceptor thread (prone to lockup)
- SocketWrapper socketWrapper = null;
-
try
{
if(trace) { log.trace("creating the socket wrapper"); }
More information about the jboss-cvs-commits
mailing list