Changes and additional files for RMI profiling
[iot2.git] / iotjava / iotrmi / Java / basics / TestClass_Skeleton.java
index a5b7360..0e83e75 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);
        }
 }