incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: incubator-altrmi/src/java/org/apache/altrmi/server/impl/socket AbstractCompleteSocketStreamServer.java
Date Mon, 17 Mar 2003 03:11:36 GMT
proyal      2003/03/16 19:11:36

  Modified:    src/java/org/apache/altrmi/server/impl/socket
                        AbstractCompleteSocketStreamServer.java
  Log:
  Set started state before staring thread to listen to socket.
  
  Otherwise the thread immediately stops, since the state != STARTED
  
  Revision  Changes    Path
  1.5       +2 -3      incubator-altrmi/src/java/org/apache/altrmi/server/impl/socket/AbstractCompleteSocketStreamServer.java
  
  Index: AbstractCompleteSocketStreamServer.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/java/org/apache/altrmi/server/impl/socket/AbstractCompleteSocketStreamServer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractCompleteSocketStreamServer.java	10 Mar 2003 08:04:45 -0000	1.4
  +++ AbstractCompleteSocketStreamServer.java	17 Mar 2003 03:11:36 -0000	1.5
  @@ -188,9 +188,8 @@
           {
               throw new ServerException( "Could not bind to a socket when setting up the
server", ioe);
           }
  -        getThreadContext().start();
           setState(STARTED);
  -
  +        getThreadContext().start();
       }
   
       /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message