1 // Tags: not-a-test |
|
2 // Not a test, required by RMI_IIOP.java. |
|
3 |
|
4 // Copyright (C) 2005 Audrius Meskauskas (AudriusA@Bioinformatics.org) |
|
5 |
|
6 // Mauve is free software; you can redistribute it and/or modify |
|
7 // it under the terms of the GNU General Public License as published by |
|
8 // the Free Software Foundation; either version 2, or (at your option) |
|
9 // any later version. |
|
10 |
|
11 // Mauve is distributed in the hope that it will be useful, |
|
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 // GNU General Public License for more details. |
|
15 |
|
16 // You should have received a copy of the GNU General Public License |
|
17 // along with Mauve; see the file COPYING. If not, write to |
|
18 // the Free Software Foundation, 59 Temple Place - Suite 330, |
|
19 // Boston, MA 02111-1307, USA. */ |
|
20 |
|
21 package gnu.testlet.javax.rmi.CORBA.Tie; |
|
22 |
|
23 import gnu.testlet.org.omg.CORBA_2_3.ORB.Valtype.Info; |
|
24 import gnu.testlet.org.omg.CORBA_2_3.ORB.Valtype.cmInfo; |
|
25 |
|
26 import java.rmi.Remote; |
|
27 import java.rmi.RemoteException; |
|
28 import java.util.Collection; |
|
29 |
|
30 /** |
|
31 * This file is part of the CORBA RMI over IIOP the test executable |
|
32 * class being gnu.testlet.javax.rmi.CORBA.Tie.RMI_IIOP. |
|
33 * |
|
34 * @author Audrius Meskauskas (AudriusA@bluewin.ch) |
|
35 */ |
|
36 public interface RMI_test |
|
37 extends Remote |
|
38 { |
|
39 String sayHello(RMI_test h) |
|
40 throws RemoteException; |
|
41 |
|
42 String joinStrings(String a, String b) |
|
43 throws RemoteException; |
|
44 |
|
45 long multiply(byte a, long b) |
|
46 throws RemoteException; |
|
47 |
|
48 int passArray(int[] array) |
|
49 throws RemoteException; |
|
50 |
|
51 String passStringArray(String[] array) |
|
52 throws RemoteException; |
|
53 |
|
54 String passPrimitives(byte b, double d, int i, String s, float f, char c, |
|
55 short sh) |
|
56 throws RemoteException; |
|
57 |
|
58 String passStructure(myStructure s) |
|
59 throws RemoteException; |
|
60 |
|
61 String passStructureArray(myStructure[] structures) |
|
62 throws RemoteException; |
|
63 |
|
64 String passCorbaCMValueType(cmInfo info) |
|
65 throws RemoteException; |
|
66 |
|
67 String passCorbaValueType(Info info) |
|
68 throws RemoteException; |
|
69 |
|
70 String passCorbaValueTypeArray(Info[] infos) |
|
71 throws RemoteException; |
|
72 |
|
73 String passCorbaObject(org.omg.CORBA.Object object) |
|
74 throws RemoteException; |
|
75 |
|
76 NodeObject exchangeNodeObject(NodeObject nx) |
|
77 throws RemoteException; |
|
78 |
|
79 String passArrayOfRemotes(RMI_test[] tests) |
|
80 throws RemoteException; |
|
81 |
|
82 RMI_test passReturnRemote(RMI_test test) |
|
83 throws RemoteException; |
|
84 |
|
85 String getEgo() |
|
86 throws RemoteException; |
|
87 |
|
88 String passCollection(Collection cx) |
|
89 throws RemoteException; |
|
90 |
|
91 } |
|