X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iot2.git;a=blobdiff_plain;f=iotjava%2Fiotrmi%2FJava%2Fbasics%2FTestClass_Skeleton.java;h=0e83e7514745eb1565be8aed9bf4266ab4766acf;hp=a5b736087211824c5399a2583fccedc9ad90cda6;hb=302042de817d92a659f4e3015ec56cd4e382ee44;hpb=4b928ccacd87cf190fb7a1b7ff5649a96487d09b diff --git a/iotjava/iotrmi/Java/basics/TestClass_Skeleton.java b/iotjava/iotrmi/Java/basics/TestClass_Skeleton.java index a5b7360..0e83e75 100644 --- a/iotjava/iotrmi/Java/basics/TestClass_Skeleton.java +++ b/iotjava/iotrmi/Java/basics/TestClass_Skeleton.java @@ -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); } }