[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/socket ...

Ron Sigal ron_sigal at yahoo.com
Mon Jan 29 00:21:31 EST 2007


  User: rsigal  
  Date: 07/01/29 00:21:31

  Modified:    src/main/org/jboss/remoting/transport/socket  Tag:
                        remoting_2_x ServerSocketWrapper.java
  Log:
  JBREM-692:  Removed createInputStream() and createOutputStream().
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.14.6.4  +0 -21     JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ServerSocketWrapper.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/socket/ServerSocketWrapper.java,v
  retrieving revision 1.14.6.3
  retrieving revision 1.14.6.4
  diff -u -b -r1.14.6.3 -r1.14.6.4
  --- ServerSocketWrapper.java	16 Jan 2007 00:29:29 -0000	1.14.6.3
  +++ ServerSocketWrapper.java	29 Jan 2007 05:21:31 -0000	1.14.6.4
  @@ -24,7 +24,6 @@
   
   import java.io.EOFException;
   import java.io.IOException;
  -import java.io.InputStream;
   import java.io.OutputStream;
   import java.net.Socket;
   import java.util.Map;
  @@ -49,26 +48,6 @@
         super(socket, metadata, timeout);
      }
   
  -   protected InputStream createInputStream(String serializationType, Socket socket) throws IOException
  -   {
  -//      BufferedInputStream bin = new BufferedInputStream(socket.getInputStream());
  -//      ObjectInputStream oin = SerializationStreamFactory.getManagerInstance(serializationType).createInput(bin, null);
  -//      return oin;
  -      if (trace) { log.trace(this + " getting input stream from " + socket); }
  -      return socket.getInputStream();
  -   }
  -
  -   protected OutputStream createOutputStream(String serializationType, Socket socket)
  -         throws IOException
  -   {
  -//      BufferedOutputStream bout = new BufferedOutputStream(socket.getOutputStream());
  -//      ObjectOutputStream oout = SerializationStreamFactory.getManagerInstance(serializationType).createOutput(bout);
  -//      oout.flush();
  -//      return oout;
  -      if (trace) { log.trace(this + " getting output stream from " + socket); }
  -      return socket.getOutputStream();
  -   }
  -
      public void checkConnection() throws IOException
      {
         // Perform acknowledgement to convince client
  
  
  



More information about the jboss-cvs-commits mailing list