01: package com.caucho.hessian.test;
02:
03: import java.io.IOException;
04:
05: /**
06: * The Test service is a quick sanity check service. Developers of a
07: * new Hessian implementation can use this service as an initial test.
08: */
09: public interface Test {
10: /**
11: * Does nothing.
12: */
13: public void nullCall();
14:
15: /**
16: * Hello, World.
17: */
18: public String hello();
19:
20: /**
21: * Subtraction
22: */
23: public int subtract(int a, int b);
24:
25: /**
26: * Echos the object to the server.
27: * <pre>
28: */
29: public Object echo(Object value);
30:
31: /**
32: * Throws an application fault.
33: */
34: public void fault() throws IOException;
35: }
|