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/server/impl/socket PartialSocketObjectStreamServer.java
Date Wed, 13 Mar 2002 10:24:08 GMT
hammant     02/03/13 02:24:08

  Modified:    altrmi/src/java/org/apache/commons/altrmi/server/impl/socket
                        PartialSocketObjectStreamServer.java
  Log:
  Extra constructor for those with their own Invocation adapters
  
  Revision  Changes    Path
  1.5       +17 -1     jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/server/impl/socket/PartialSocketObjectStreamServer.java
  
  Index: PartialSocketObjectStreamServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/server/impl/socket/PartialSocketObjectStreamServer.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PartialSocketObjectStreamServer.java	12 Mar 2002 17:05:19 -0000	1.4
  +++ PartialSocketObjectStreamServer.java	13 Mar 2002 10:24:08 -0000	1.5
  @@ -13,6 +13,7 @@
   import org.apache.commons.altrmi.server.impl.AbstractServer;
   import org.apache.commons.altrmi.server.impl.ServerStreamReadWriter;
   import org.apache.commons.altrmi.server.impl.ServerObjectStreamReadWriter;
  +import org.apache.commons.altrmi.server.impl.adapters.InvocationHandlerAdapter;
   import org.apache.commons.altrmi.server.AltrmiServerException;
   
   import java.net.Socket;
  @@ -26,7 +27,7 @@
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
    */
   public class PartialSocketObjectStreamServer extends AbstractServer {
   
  @@ -40,6 +41,20 @@
       public PartialSocketObjectStreamServer() throws AltrmiServerException {}
   
       /**
  +     * Constructor PartialSocketObjectStreamServer
  +     *
  +     *
  +     * @param invocationHandlerAdapter
  +     *
  +     * @throws AltrmiServerException
  +     *
  +     */
  +    public PartialSocketObjectStreamServer(InvocationHandlerAdapter invocationHandlerAdapter)
  +            throws AltrmiServerException {
  +        super(invocationHandlerAdapter);
  +    }
  +
  +    /**
        * Method handleConnection
        *
        * @param sock
  @@ -63,6 +78,7 @@
                   SocketStreamServerConnection sssc = new SocketStreamServerConnection(this,
sock,
                                                           sock.getInputStream(),
                                                           sock.getOutputStream(), ssrw);
  +
                   sssc.enableLogging(getLogger());
                   sssc.run();
               }
  
  
  

--
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