avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/server/impl/rmi RmiServer.java
Date Sat, 04 May 2002 15:48:32 GMT
hammant     02/05/04 08:48:31

  Modified:    altrmi/src/java/org/apache/excalibur/altrmi/server/impl/rmi
                        RmiServer.java
  Log:
  make rmi server InvocationHandlerAdapter capable
  
  Revision  Changes    Path
  1.3       +20 -1     jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/server/impl/rmi/RmiServer.java
  
  Index: RmiServer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/java/org/apache/excalibur/altrmi/server/impl/rmi/RmiServer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RmiServer.java	24 Apr 2002 12:43:02 -0000	1.2
  +++ RmiServer.java	4 May 2002 15:48:31 -0000	1.3
  @@ -15,13 +15,14 @@
   import org.apache.excalibur.altrmi.common.RmiAltrmiInvocationHandler;
   import org.apache.excalibur.altrmi.server.AltrmiServerException;
   import org.apache.excalibur.altrmi.server.impl.AbstractServer;
  +import org.apache.excalibur.altrmi.server.impl.adapters.InvocationHandlerAdapter;
   
   /**
    * Class RmiServer
    *
    *
    * @author Paul Hammant <a href="mailto:Paul_Hammant@yahoo.com">Paul_Hammant@yahoo.com</a>
  - * @version $Revision: 1.2 $
  + * @version $Revision: 1.3 $
    */
   public class RmiServer extends AbstractServer
   {
  @@ -43,6 +44,24 @@
        */
       public RmiServer( String host, int port ) throws AltrmiServerException
       {
  +        mHost = host;
  +        mPort = port;
  +    }
  +
  +    /**
  +     * Constructor RmiServer
  +     *
  +     *
  +     * @param invocationHandlerAdapter
  +     * @param host
  +     * @param port
  +     *
  +     * @throws AltrmiServerException
  +     *
  +     */
  +    public RmiServer( InvocationHandlerAdapter invocationHandlerAdapter, String host, int
port ) throws AltrmiServerException
  +    {
  +        super(invocationHandlerAdapter);
           mHost = host;
           mPort = port;
       }
  
  
  

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


Mime
View raw message