01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: *
15: * See the License for the specific language governing permissions and
16: * limitations under the License.
17: */
18:
19: /**
20: * @author Mikhail A. Markov, Vasily Zakharov
21: * @version $Revision: 1.1.2.2 $
22: */package org.apache.harmony.rmi.test;
23:
24: import java.rmi.Remote;
25: import java.rmi.RemoteException;
26:
27: /**
28: * @author Mikhail A. Markov, Vasily Zakharov
29: * @version $Revision: 1.1.2.2 $
30: */
31: public interface MyRemoteInterface extends Remote {
32:
33: public void test_String_Void(String param) throws RemoteException;
34:
35: public String test_Void_String() throws RemoteException;
36:
37: public void test_Int_Void(int param) throws RemoteException;
38:
39: public int test_Void_Int() throws RemoteException;
40:
41: public void test_Remote_Void(Remote param) throws RemoteException;
42:
43: public void test_UnicastRemoteObject_Void(Remote param)
44: throws RemoteException;
45:
46: public Remote test_Void_Remote() throws RemoteException;
47:
48: public long test_Long_Long(long param) throws RemoteException;
49:
50: public String test_String_String(String param)
51: throws RemoteException;
52:
53: public Remote test_Remote_Remote(Remote param)
54: throws RemoteException;
55:
56: public void test_RemoteString_Void(Remote param1, String param2)
57: throws RemoteException;
58:
59: public Remote test_RemoteRemote_Remote(Remote param1, Remote param2)
60: throws RemoteException;
61:
62: public void test_BooleanStringRemote_Void(boolean param1,
63: String param2, Remote param3) throws RemoteException;
64:
65: public void test_Proxy_Void(Object param) throws RemoteException;
66:
67: public void test_IntArray_Void(int[] param) throws RemoteException;
68:
69: public int[] test_Void_IntArray() throws RemoteException;
70:
71: public void test_Array_Void(String[] param) throws RemoteException;
72:
73: public String[] test_Void_Array() throws RemoteException;
74:
75: public void test_RemoteArray_Void(Remote[] param)
76: throws RemoteException;
77:
78: public Remote[] test_Void_RemoteArray() throws RemoteException;
79:
80: public void test_Exception() throws RemoteException, MyException;
81:
82: public void test_Error() throws RemoteException, MyException;
83:
84: public void test_RuntimeException() throws RemoteException,
85: MyException;
86:
87: public void test_RemoteException() throws RemoteException;
88: }
|