Skip to content
Snippets Groups Projects
Commit a2cee202 authored by brutzman's avatar brutzman
Browse files

note total goal on repeating output

parent 91189b62
No related branches found
No related tags found
No related merge requests found
......@@ -3,48 +3,51 @@ init:
Deleting: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\DisDemo\build\built-jar.properties
deps-jar:
Updating property file: C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\DisDemo\build\built-jar.properties
Compiling 1 source file to C:\x-nps-gitlab\NetworkedGraphicsMV3500\examples\DisDemo\build\classes
warning: [options] bootstrap class path not set in conjunction with -source 8
1 warning
compile:
run:
DisDemo.DisDemonstration: sending 20 ESPDU packets at 1000 msec (1.0 second) intervals on
broadcast address=[/172.16.0.255, /172.20.209.219, /172.24.159.255] port 3000
broadcast address=[/172.16.0.255] port 3000
Current position: 0.0, 1.0, 0.0
... sent 1
... sent 1 of 20
Current position: 0.0, 2.0, 0.0
... sent 2
... sent 2 of 20
Current position: 0.0, 3.0, 0.0
... sent 3
... sent 3 of 20
Current position: 0.0, 4.0, 0.0
... sent 4
... sent 4 of 20
Current position: 0.0, 5.0, 0.0
... sent 5
... sent 5 of 20
Current position: 0.0, 6.0, 0.0
... sent 6
... sent 6 of 20
Current position: 0.0, 7.0, 0.0
... sent 7
... sent 7 of 20
Current position: 0.0, 8.0, 0.0
... sent 8
... sent 8 of 20
Current position: 0.0, 9.0, 0.0
... sent 9
... sent 9 of 20
Current position: 0.0, 10.0, 0.0
... sent 10
... sent 10 of 20
Current position: 0.0, 11.0, 0.0
... sent 11
... sent 11 of 20
Current position: 0.0, 12.0, 0.0
... sent 12
... sent 12 of 20
Current position: 0.0, 13.0, 0.0
... sent 13
... sent 13 of 20
Current position: 0.0, 14.0, 0.0
... sent 14
... sent 14 of 20
Current position: 0.0, 15.0, 0.0
... sent 15
... sent 15 of 20
Current position: 0.0, 16.0, 0.0
... sent 16
... sent 16 of 20
Current position: 0.0, 17.0, 0.0
... sent 17
... sent 17 of 20
Current position: 0.0, 18.0, 0.0
... sent 18
... sent 18 of 20
Current position: 0.0, 19.0, 0.0
... sent 19
... sent 19 of 20
Current position: 0.0, 20.0, 0.0
... sent 20
... sent 20 of 20
BUILD SUCCESSFUL (total time: 21 seconds)
......@@ -106,16 +106,14 @@ public class DisDemonstration {
packet = new DatagramPacket(buffer.array(), buffer.array().length, aBcast, PORT);
socket.send(packet);
}
System.out.println("... sent " + index + " of " + NUMBER_OF_SENDS);
Thread.sleep(INTERVAL_MSEC);
System.out.println("... sent " + index);
}
}
catch(IOException | InterruptedException e)
{
System.err.println(e);
}
}
/** Get list of network addresses for broadcast packets
* @return list of network addresses */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment