public interface TestAPI
Vona's Utils: RMIWrap: API for the test/demo.
Copyright (C) 2005, Marsette A. Vona, III
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Modifier and Type | Interface and Description |
---|---|
static class |
TestAPI.Bar
An internal class.
|
static class |
TestAPI.Baz
Not serializable: trigger remote exception.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
cvsid
CVS id.
|
Modifier and Type | Method and Description |
---|---|
double |
testEight(double foo)
Takes and returns doubles.
|
int[] |
testFive(java.lang.Integer[] arg)
Takes and returns arrays.
|
boolean |
testFour(java.lang.String arg0,
int arg1)
Takes args, returns a boolean, possibly throws an exception.
|
int |
testOne()
Returns a constant.
|
TestAPI.Baz |
testSeven(TestAPI.Baz arg)
Takes and returns unserializable class.
|
TestAPI.Bar |
testSix(TestAPI.Bar arg)
Takes and returns internal classes.
|
java.lang.Object |
testThree(int arg)
Takes an arg and returns an object.
|
void |
testTwo()
Throws an exception.
|
static final java.lang.String cvsid
CVS id.
int testOne()
Returns a constant.
void testTwo() throws java.lang.UnsupportedOperationException
Throws an exception.
java.lang.UnsupportedOperationException
java.lang.Object testThree(int arg)
Takes an arg and returns an object.
arg
- the argumentboolean testFour(java.lang.String arg0, int arg1) throws java.lang.UnsupportedOperationException
Takes args, returns a boolean, possibly throws an exception.
arg0
- the first argumentarg1
- the second argumentjava.lang.UnsupportedOperationException
int[] testFive(java.lang.Integer[] arg)
Takes and returns arrays.
arg
- an array argTestAPI.Bar testSix(TestAPI.Bar arg)
Takes and returns internal classes.
arg
- an internal classTestAPI.Baz testSeven(TestAPI.Baz arg)
Takes and returns unserializable class.
arg
- an unserializable classdouble testEight(double foo)
Takes and returns doubles.
foo
- the argument