You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by vi...@apache.org on 2002/05/15 00:24:05 UTC
cvs commit: jakarta-avalon-excalibur/altrmi/src/test/org/apache/excalibur/altrmi/test/generator TestInvocationHandler.java
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>