Skip to content
Snippets Groups Projects
Commit dc91d35d authored by Oblak, William (Maj)'s avatar Oblak, William (Maj)
Browse files

Changed Assignment 3 DIS information from USA to AUL

parent 77ceb31e
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,10 @@
* and tracing its source before destroying it - updated September 12, 2021 to ensure
* correct file pushed to Gitlab.
*
* @author Bruce Chojnacki
* @author William Oblak (Changes made from copy given in class)
*/
package MV3500Cohort2023MarchJune.homework3.Oblak;
import MV3500Cohort2023MarchJune.homework3.Chojnacki.*;
import edu.nps.moves.dis7.enumerations.*; // match any
import edu.nps.moves.dis7.pdus.*; // match any of the PDU classes, easier than listing individually
import edu.nps.moves.dis7.utilities.DisThreadedNetworkInterface;
......@@ -27,7 +26,7 @@ import java.util.logging.Logger;
*/
public class ExampleSimulationProgram
{
private boolean verboseComments = true;
private boolean verboseComments = true;
static final String NETWORK_ADDRESS_DEFAULT = "239.1.2.3";
static final int NETWORK_PORT_DEFAULT = 3000;
static String networkAddress = NETWORK_ADDRESS_DEFAULT;
......@@ -46,7 +45,7 @@ public class ExampleSimulationProgram
EntityType FNFireWallType = new EntityType();
FNFireWallType.setEntityKind(EntityKind.PLATFORM);
FNFireWallType.setDomain(Domain.inst(PlatformDomain.OTHER));
FNFireWallType.setCountry(Country.UNITED_STATES_OF_AMERICA_USA);
FNFireWallType.setCountry(Country.AUSTRALIA_AUS);
FNFireWallType.setCategory(3);
FNFireWallType.setSubCategory(1);
FNFireWallType.setSpecific(1);
......@@ -77,7 +76,7 @@ public class ExampleSimulationProgram
EntityType TracerouteType = new EntityType(); //2.2.225.2.13.1
TracerouteType.setEntityKind(EntityKind.MUNITION);
TracerouteType.setDomain(Domain.inst(PlatformDomain.OTHER));
TracerouteType.setCountry(Country.UNITED_STATES_OF_AMERICA_USA);
TracerouteType.setCountry(Country.AUSTRALIA_AUS);
TracerouteType.setCategory(2);
TracerouteType.setSubCategory(8);
TracerouteType.setSpecific(1);
......
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