commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/impl/stream ClientCustomStreamReadWriter.java
Date Mon, 04 Mar 2002 16:08:54 GMT
hammant     02/03/04 08:08:54

  Modified:    altrmi/src/java/org/apache/commons/altrmi/client/impl/stream
                        ClientCustomStreamReadWriter.java
  Log:
  better var names
  
  Revision  Changes    Path
  1.4       +5 -5      jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/impl/stream/ClientCustomStreamReadWriter.java
  
  Index: ClientCustomStreamReadWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/client/impl/stream/ClientCustomStreamReadWriter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ClientCustomStreamReadWriter.java	4 Mar 2002 12:10:49 -0000	1.3
  +++ ClientCustomStreamReadWriter.java	4 Mar 2002 16:08:54 -0000	1.4
  @@ -25,13 +25,13 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.3 $
  + * @version $Revision: 1.4 $
    */
   public class ClientCustomStreamReadWriter extends ClientStreamReadWriter {
   
       private DataInputStream mDataInputStream;
       private DataOutputStream mDataOutputStream;
  -    private ClassLoader mClassLoader;
  +    private ClassLoader mInterfacesClassLoader;
   
       /**
        * Constructor ClientCustomStreamReadWriter
  @@ -43,11 +43,11 @@
        * @throws IOException
        *
        */
  -    public ClientCustomStreamReadWriter(InputStream inputStream, OutputStream outputStream,
ClassLoader classLoader)
  +    public ClientCustomStreamReadWriter(InputStream inputStream, OutputStream outputStream,
ClassLoader interfacesClassLoader)
               throws IOException {
           mDataOutputStream = new DataOutputStream(new BufferedOutputStream(outputStream));
           mDataInputStream = new DataInputStream(inputStream);
  -        mClassLoader = classLoader;
  +        mInterfacesClassLoader = interfacesClassLoader;
       }
   
       protected synchronized AltrmiReply postRequest(AltrmiRequest altrmiRequest)
  @@ -74,6 +74,6 @@
   
           mDataInputStream.read(byteArray);
   
  -        return (AltrmiReply) SerializationHelper.getInstanceFromBytes(byteArray, mClassLoader);
  +        return (AltrmiReply) SerializationHelper.getInstanceFromBytes(byteArray, mInterfacesClassLoader);
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message