incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vin...@apache.org
Subject cvs commit: incubator-altrmi/src/java/org/apache/altrmi/client/impl/callback/stream CallbackEnabledClientCustomStreamReadWriter.java
Date Thu, 21 Aug 2003 14:26:29 GMT
vinayc      2003/08/21 07:26:29

  Modified:    src/java/org/apache/altrmi/client/impl/callback/stream
                        CallbackEnabledClientCustomStreamReadWriter.java
  Log:
  Initialize variables and then spawning threads.[a step towards getting callbacks back on
track]
  
  Revision  Changes    Path
  1.5       +5 -4      incubator-altrmi/src/java/org/apache/altrmi/client/impl/callback/stream/CallbackEnabledClientCustomStreamReadWriter.java
  
  Index: CallbackEnabledClientCustomStreamReadWriter.java
  ===================================================================
  RCS file: /home/cvs/incubator-altrmi/src/java/org/apache/altrmi/client/impl/callback/stream/CallbackEnabledClientCustomStreamReadWriter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- CallbackEnabledClientCustomStreamReadWriter.java	15 Jul 2003 07:08:40 -0000	1.4
  +++ CallbackEnabledClientCustomStreamReadWriter.java	21 Aug 2003 14:26:29 -0000	1.5
  @@ -132,9 +132,6 @@
           m_dataInputStream = new DataInputStream(inputStream);
   
           m_interfacesClassLoader = interfacesClassLoader;
  -        //This thread recv's all the messages sent from the server
  -        m_messageLoopThreadContext = m_threadPool.getThreadContext(this);
  -        m_messageLoopThreadContext.start();
           //start the internal Server which holds the exposed Objects
           // for the server to make callbacks upon.
           NullServerMonitor serverMonitor = new NullServerMonitor();
  @@ -151,6 +148,10 @@
           {
               throw new ConnectionException("Error Starting Internal Server");
           }
  +        //This thread recv's all the messages sent from the server
  +        m_messageLoopThreadContext = m_threadPool.getThreadContext(this);
  +        m_messageLoopThreadContext.start();
  +        
       }
   
       /*
  
  
  

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


Mime
View raw message