Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
dc91d35d
Commit
dc91d35d
authored
2 years ago
by
Oblak, William (Maj)
Browse files
Options
Downloads
Patches
Plain Diff
Changed Assignment 3 DIS information from USA to AUL
parent
77ceb31e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assignments/src/MV3500Cohort2023MarchJune/homework3/Oblak/ExampleSimulationProgram.java
+4
-5
4 additions, 5 deletions
...23MarchJune/homework3/Oblak/ExampleSimulationProgram.java
with
4 additions
and
5 deletions
assignments/src/MV3500Cohort2023MarchJune/homework3/Oblak/ExampleSimulationProgram.java
+
4
−
5
View file @
dc91d35d
...
...
@@ -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_AMERIC
A_US
A
);
FNFireWallType
.
setCountry
(
Country
.
AUSTRALI
A_
A
US
);
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_AMERIC
A_US
A
);
TracerouteType
.
setCountry
(
Country
.
AUSTRALI
A_
A
US
);
TracerouteType
.
setCategory
(
2
);
TracerouteType
.
setSubCategory
(
8
);
TracerouteType
.
setSpecific
(
1
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment