[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/socket ...
Ron Sigal
ron_sigal at yahoo.com
Wed Dec 27 00:56:49 EST 2006
User: rsigal
Date: 06/12/27 00:56:49
Modified: src/main/org/jboss/remoting/transport/socket
SocketServerInvoker.java
Log:
JBREM-650: Made MAX_POOLSIZE_DEFAULT and serverSocketClass protected.
Revision Changes Path
1.33 +8 -8 JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SocketServerInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/SocketServerInvoker.java,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -b -r1.32 -r1.33
--- SocketServerInvoker.java 3 Nov 2006 19:04:40 -0000 1.32
+++ SocketServerInvoker.java 27 Dec 2006 05:56:48 -0000 1.33
@@ -45,7 +45,7 @@
*
* @author <a href="mailto:jhaynie at vocalocity.net">Jeff Haynie</a>
* @author <a href="mailto:tom.elrod at jboss.com">Tom Elrod</a>
- * @version $Revision: 1.32 $
+ * @version $Revision: 1.33 $
* @jmx:mbean
*/
public class SocketServerInvoker extends ServerInvoker implements Runnable, SocketServerInvokerMBean
@@ -57,7 +57,7 @@
private Properties props = new Properties();
private static int BACKLOG_DEFAULT = 200;
- private static int MAX_POOL_SIZE_DEFAULT = 300;
+ protected static int MAX_POOL_SIZE_DEFAULT = 300;
/**
* Key for indicating if socket invoker should continue to keep socket connection between
@@ -70,7 +70,7 @@
* Specifies the fully qualified class name for the custom SocketWrapper implementation to use on the server.
*/
public static final String SERVER_SOCKET_CLASS_FLAG = "serverSocketClass";
- private String serverSocketClass = ServerSocketWrapper.class.getName();
+ protected String serverSocketClass = ServerSocketWrapper.class.getName();
protected ServerSocket serverSocket = null;
protected boolean running = false;
@@ -693,7 +693,7 @@
{
Set svrThreads = clientpool.getContents();
svrThreadArray = svrThreads.toArray();
-}
+ }
if(trace)
{
if(svrThreadArray != null)
@@ -749,7 +749,7 @@
if(svrThreadArray != null)
{
log.trace("Number of ServerThread in thead pool = " + svrThreadArray.length);
-}
+ }
}
if(svrThreadArray != null)
More information about the jboss-cvs-commits
mailing list