KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > test > orb > rmi > RMITestInterface


1 package org.jacorb.test.orb.rmi;
2
3 import org.jacorb.test.orb.rmi.Boo;
4 import org.jacorb.test.orb.rmi.Foo;
5 import org.jacorb.test.orb.rmi.NegativeArgumentException;
6
7 /*
8  * JacORB - a free Java ORB
9  *
10  * Copyright (C) 1997-2003 Gerald Brose.
11  *
12  * This library is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU Library General Public
14  * License as published by the Free Software Foundation; either
15  * version 2 of the License, or (at your option) any later version.
16  *
17  * This library is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * Library General Public License for more details.
21  *
22  * You should have received a copy of the GNU Library General Public
23  * License along with this library; if not, write to the Free
24  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25  */

26
27 public interface RMITestInterface
28         extends java.rmi.Remote JavaDoc
29 {
30
31     public String JavaDoc getString()
32             throws java.rmi.RemoteException JavaDoc;
33
34     public String JavaDoc testPrimitiveTypes(boolean flag, char c, byte b,
35                                      short s, int i, long l, float f, double d)
36             throws java.rmi.RemoteException JavaDoc;
37
38     public String JavaDoc testString(String JavaDoc s)
39             throws java.rmi.RemoteException JavaDoc;
40
41     public RMITestInterface testRMITestInterface(String JavaDoc s, RMITestInterface t)
42             throws java.rmi.RemoteException JavaDoc;
43
44     public java.rmi.Remote JavaDoc testRemote(String JavaDoc s, java.rmi.Remote JavaDoc t)
45             throws java.rmi.RemoteException JavaDoc;
46
47     public Foo testSerializable(Foo foo)
48             throws java.rmi.RemoteException JavaDoc;
49
50     public int[] testIntArray(int[] a)
51             throws java.rmi.RemoteException JavaDoc;
52
53     public Foo[] testValueArray(Foo[] a)
54             throws java.rmi.RemoteException JavaDoc;
55
56     public String JavaDoc testException(int i)
57             throws NegativeArgumentException, java.rmi.RemoteException JavaDoc;
58
59     public Object JavaDoc fooValueToObject(Foo foo)
60             throws java.rmi.RemoteException JavaDoc;
61
62     public Object JavaDoc booValueToObject(Boo boo)
63             throws java.rmi.RemoteException JavaDoc;
64
65     public java.util.Vector JavaDoc valueArrayToVector(Foo[] a)
66             throws java.rmi.RemoteException JavaDoc;
67
68     public Foo[] vectorToValueArray(java.util.Vector JavaDoc v)
69             throws java.rmi.RemoteException JavaDoc;
70
71     public Object JavaDoc getException()
72             throws java.rmi.RemoteException JavaDoc;
73
74     public Object JavaDoc getZooValue()
75             throws java.rmi.RemoteException JavaDoc;
76
77     public Object JavaDoc[] testReferenceSharingWithinArray(Object JavaDoc[] a)
78             throws java.rmi.RemoteException JavaDoc;
79
80     public java.util.Collection JavaDoc testReferenceSharingWithinCollection(
81             java.util.Collection JavaDoc c) throws java.rmi.RemoteException JavaDoc;
82
83     public java.util.Vector JavaDoc getVectorWithObjectArrayAsElement()
84             throws java.rmi.RemoteException JavaDoc;
85
86     public java.util.Vector JavaDoc getVectorWithVectorAsElement()
87             throws java.rmi.RemoteException JavaDoc;
88
89     public java.util.Vector JavaDoc getVectorWithHashtableAsElement()
90             throws java.rmi.RemoteException JavaDoc;
91
92 }
93
Popular Tags