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
d2b487f2
Commit
d2b487f2
authored
4 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
renames for clarity
parent
4c2c8b80
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/edu/nps/moves/dis7/AllPduRoundTripTest.java
+2
-2
2 additions, 2 deletions
test/edu/nps/moves/dis7/AllPduRoundTripTest.java
test/edu/nps/moves/dis7/X3dInterpolatorsTest.java
+1
-1
1 addition, 1 deletion
test/edu/nps/moves/dis7/X3dInterpolatorsTest.java
with
3 additions
and
3 deletions
test/edu/nps/moves/dis7/AllPduRoundTripTest.java
+
2
−
2
View file @
d2b487f2
...
@@ -190,7 +190,7 @@ public class AllPduRoundTripTest
...
@@ -190,7 +190,7 @@ public class AllPduRoundTripTest
}
}
};
};
disnetworking
.
addListener
(
lis
);
disnetworking
.
addListener
(
lis
);
System
.
out
.
println
(
"Recorder log at "
+
recorder
.
getLogFile
());
System
.
out
.
println
(
"Recorder log at "
+
recorder
.
getLogFile
Path
());
}
}
/** Will shutdown the common send/receive network interface */
/** Will shutdown the common send/receive network interface */
...
@@ -211,7 +211,7 @@ public class AllPduRoundTripTest
...
@@ -211,7 +211,7 @@ public class AllPduRoundTripTest
private
void
getAllFromRecorder
(
Semaphore
sem
)
throws
Exception
private
void
getAllFromRecorder
(
Semaphore
sem
)
throws
Exception
{
{
sem
.
acquire
();
sem
.
acquire
();
Path
path
=
Path
.
of
(
recorder
.
getLogFile
()).
getParent
();
Path
path
=
Path
.
of
(
recorder
.
getLogFile
Path
()).
getParent
();
PduPlayer
player
=
new
PduPlayer
(
disnetworking
.
getMcastGroup
(),
disnetworking
.
getDisPort
(),
path
,
false
);
PduPlayer
player
=
new
PduPlayer
(
disnetworking
.
getMcastGroup
(),
disnetworking
.
getDisPort
(),
path
,
false
);
player
.
addRawListener
(
ba
->
{
player
.
addRawListener
(
ba
->
{
if
(
ba
!=
null
)
{
if
(
ba
!=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
test/edu/nps/moves/dis7/X3dInterpolatorsTest.java
+
1
−
1
View file @
d2b487f2
...
@@ -62,7 +62,7 @@ public class X3dInterpolatorsTest {
...
@@ -62,7 +62,7 @@ public class X3dInterpolatorsTest {
Path
path
=
Path
.
of
(
"./pduLog"
);
Path
path
=
Path
.
of
(
"./pduLog"
);
// Note: the player will playback all log files in the given path
// Note: the player will playback all log files in the given path
PduPlayer
player
=
new
PduPlayer
(
DisThreadedNetIF
.
DEFAULT_MCAST_
GROUP
,
DisThreadedNetIF
.
DEFAULT_DIS_PORT
,
path
,
true
);
PduPlayer
player
=
new
PduPlayer
(
DisThreadedNetIF
.
DEFAULT_M
ULTI
CAST_
ADDRESS
,
DisThreadedNetIF
.
DEFAULT_DIS_PORT
,
path
,
true
);
player
.
addRawListener
(
ba
->
{
player
.
addRawListener
(
ba
->
{
if
(
ba
==
null
)
{
if
(
ba
==
null
)
{
player
.
end
();
player
.
end
();
...
...
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