Changes and additional files for RMI profiling
[iot2.git] / iotjava / iotrmi / Java / basics / TestClass_Skeleton.java
index a5b736087211824c5399a2583fccedc9ad90cda6..0e83e7514745eb1565be8aed9bf4266ab4766acf 100644 (file)
@@ -1,11 +1,14 @@
+import java.net.InetAddress;
 
 public class TestClass_Skeleton {
 
        public static void main(String[] args) throws Exception {
 
-               int port = 5010;
-               TestClass tc = new TestClass(3, 5f, "7911");
-               TestClassInterface_Skeleton tcSkel = new TestClassInterface_Skeleton(tc, port);
-
+               int portsend = 5000;
+               int portrecv = 6000;
+               String callbackAddress = InetAddress.getLocalHost().getHostAddress();
+               //TestClassProfiling tc = new TestClassProfiling();
+               TestClass tc = new TestClass();
+               TestClassInterface_Skeleton tcSkel = new TestClassInterface_Skeleton(tc, portsend, portrecv);
        }
 }