int port = 5010;
String address = "localhost";
+ //String address = "128.195.136.170"; // dc-9.calit2.uci.edu
int rev = 0;
System.out.println("Allocated ports: " + Arrays.toString(ports));
TestClassComplete_Stub tcstub = new TestClassComplete_Stub(port, address, rev, ports);
+ System.out.println("Return value: " + tcstub.getByte((byte)68));
+ System.out.println("Return value: " + tcstub.getShort((short)1234));
+ System.out.println("Return value: " + tcstub.getLong(12345678l));
+ System.out.println("Return value: " + tcstub.getFloat(12.345f));
+ System.out.println("Return value: " + tcstub.getDouble(12345.678));
+ System.out.println("Return value: " + tcstub.getBoolean(true));
+ System.out.println("Return value: " + tcstub.getChar('c'));
+
+ System.out.println("Return value: " + tcstub.getA());
System.out.println("Return value: " + tcstub.setAndGetA(123));
System.out.println("Return value: " + tcstub.setACAndGetA("string", 123));
System.out.println("Return value: " + tcstub.sumArray(new String[] { "123", "456", "987" }));