User: chirino 
  Date: 01/06/25 19:41:38

  Modified:    src/main/org/jbossmq/distributed/server
                        ConnectionReceiverOIL.java
                        ConnectionReceiverUIL.java
  Log:
  Now use a ThreadGroup to group all the client threads.
  
  Revision  Changes    Path
  1.6       +1 -1      
jbossmq/src/main/org/jbossmq/distributed/server/ConnectionReceiverOIL.java
  
  Index: ConnectionReceiverOIL.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jbossmq/distributed/server/ConnectionReceiverOIL.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ConnectionReceiverOIL.java        2001/06/26 01:39:24     1.5
  +++ ConnectionReceiverOIL.java        2001/06/26 02:41:38     1.6
  @@ -41,7 +41,7 @@
    *   @author Norbert Lataille ([EMAIL PROTECTED])
    *   @author Hiram Chirino ([EMAIL PROTECTED])
    * 
  - *   @version $Revision: 1.5 $
  + *   @version $Revision: 1.6 $
    */
   public class ConnectionReceiverOIL implements Runnable, 
org.jbossmq.distributed.interfaces.ConnectionReceiverSetup {
        // Attributes ----------------------------------------------------
  @@ -66,7 +66,7 @@
        void exportObject() {
                try {
                        serverSocket = new ServerSocket(0);
  -                     workerThread = new Thread(this, "ConnectionReceiverOIL 
Server");
  +                     workerThread = new Thread(connection.threadGroup, this, 
"ConnectionReceiverOIL Server");
                        workerThread.setDaemon(true);
                        workerThread.start();
                } catch (IOException e) {
  
  
  
  1.4       +2 -2      
jbossmq/src/main/org/jbossmq/distributed/server/ConnectionReceiverUIL.java
  
  Index: ConnectionReceiverUIL.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbossmq/src/main/org/jbossmq/distributed/server/ConnectionReceiverUIL.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ConnectionReceiverUIL.java        2001/03/02 01:12:54     1.3
  +++ ConnectionReceiverUIL.java        2001/06/26 02:41:38     1.4
  @@ -52,7 +52,7 @@
    *   @author Norbert Lataille ([EMAIL PROTECTED])
    *   @author Hiram Chirino ([EMAIL PROTECTED])
    * 
  - *   @version $Revision: 1.3 $
  + *   @version $Revision: 1.4 $
    */
   public class ConnectionReceiverUIL implements Runnable, 
org.jbossmq.distributed.interfaces.ConnectionReceiverSetup {
        // Attributes ----------------------------------------------------
  @@ -72,7 +72,7 @@
        }
   
        void exportObject() {
  -             Thread thread = new Thread(this, "ConnectionReceiverUIL");
  +             Thread thread = new Thread(connection.threadGroup, this, 
"ConnectionReceiverUIL");
                thread.setDaemon(true);
                thread.start();
        }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to