avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vin...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/generator TestInvocationHandler.java
Date Tue, 14 May 2002 22:24:05 GMT
vinayc      02/05/14 15:24:05

  Modified:    altrmi/src/test/org/apache/excalibur/altrmi/test/generator
                        TestInvocationHandler.java
  Log:
  BCEL Unit Test
  
  Revision  Changes    Path
  1.2       +16 -2     jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/generator/TestInvocationHandler.java
  
  Index: TestInvocationHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/generator/TestInvocationHandler.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestInvocationHandler.java	14 May 2002 21:41:22 -0000	1.1
  +++ TestInvocationHandler.java	14 May 2002 22:24:04 -0000	1.2
  @@ -12,14 +12,14 @@
   import org.apache.excalibur.altrmi.common.ExceptionReply;
   import org.apache.excalibur.altrmi.common.MethodReply;
   import org.apache.excalibur.altrmi.common.MethodRequest;
  -
  +import org.apache.excalibur.altrmi.client.impl.AbstractClientInvocationHandler;
   
   /**
    * TestInvocationHandler 
    * @version 	1.0
    * @author
    */
  -public class TestInvocationHandler implements AltrmiInvocationHandler {
  +public class TestInvocationHandler extends  AbstractClientInvocationHandler{
   
   	/*
   	 * @see AltrmiInvocationHandler#handleInvocation(AltrmiRequest)
  @@ -61,6 +61,20 @@
   			}
   		}
   		return null;
  +	}
  +	/*
  +	 * @see AbstractClientInvocationHandler#tryReconnect()
  +	 */
  +	protected boolean tryReconnect()
  +	{
  +		return true;
  +	}
  +	/*
  +	 * @see AltrmiClientInvocationHandler#getLastRealRequest()
  +	 */
  +	public long getLastRealRequest()
  +	{
  +		return 0;
   	}
   
   }
  
  
  

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