Skip to content
Snippets Groups Projects
Commit 7c59acd6 authored by Brutzman, Don's avatar Brutzman, Don
Browse files

javadoc

parent 1cadf2c9
No related branches found
No related tags found
No related merge requests found
...@@ -6,10 +6,8 @@ ...@@ -6,10 +6,8 @@
package edu.nps.moves.dis7.examples; package edu.nps.moves.dis7.examples;
import edu.nps.moves.dis7.EntityStatePdu; import edu.nps.moves.dis7.EntityStatePdu;
import edu.nps.moves.dis7.EntityType;
import edu.nps.moves.dis7.Pdu; import edu.nps.moves.dis7.Pdu;
import edu.nps.moves.dis7.utilities.PduFactory; import edu.nps.moves.dis7.utilities.PduFactory;
import edu.nps.moves.dis7.entities.EntityTypeFactory;
import edu.nps.moves.dis7.enumerations.DISPDUType; import edu.nps.moves.dis7.enumerations.DISPDUType;
import edu.nps.moves.dis7.utilities.DisThreadedNetIF; import edu.nps.moves.dis7.utilities.DisThreadedNetIF;
import java.io.IOException; import java.io.IOException;
...@@ -109,11 +107,14 @@ public class EntityUse ...@@ -109,11 +107,14 @@ public class EntityUse
System.out.println("Sending " + espdu.getClass().getSimpleName()); System.out.println("Sending " + espdu.getClass().getSimpleName());
netif.send(espdu); // possibly throws IOException netif.send(espdu); // possibly throws IOException
} }
/**
private static void sleep(long ms) * Thread sleep for interval in milliseconds.
* @param interval milliseconds
*/
private static void sleep(long interval)
{ {
try { try {
Thread.sleep(ms); Thread.sleep(interval);
} }
catch (InterruptedException ex) {} catch (InterruptedException ex) {}
} }
......
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