+ /**
+ * Constructor (for stub) - only destination port numbers
+ */
+ public IoTRMICommClient(int _portSend, int _portRecv, String _address, int _rev) throws
+ ClassNotFoundException, InstantiationException,
+ IllegalAccessException, IOException {
+
+ super();
+ rmiClientRecv = new IoTSocketClient(_portSend, _address, _rev);
+ rmiClientSend = new IoTSocketClient(_portRecv, _address, _rev);
+ waitForPacketsOnClient();
+ }
+
+