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
d22be3fa
Commit
d22be3fa
authored
3 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
clear warning
parent
7039e52a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/edu/nps/moves/dis7/utilities/PduFactory.java
+2
-17
2 additions, 17 deletions
src/edu/nps/moves/dis7/utilities/PduFactory.java
with
2 additions
and
17 deletions
src/edu/nps/moves/dis7/utilities/PduFactory.java
+
2
−
17
View file @
d22be3fa
...
...
@@ -44,7 +44,6 @@ public class PduFactory
private
final
DisTime
disTime
;
private
Method
getTime
;
private
boolean
useFastPdu
=
false
;
/** We can marshal the PDU with a timestamp set to any of several styles.
* Remember, you MUST set a timestamp. DIS will regard multiple packets sent
...
...
@@ -120,15 +119,6 @@ public class PduFactory
}
}
/**
* Use the default or fast method to create EntityState pdus from input byte streams.
* @param tf true if fast method
*/
public
void
useFastEspdu
(
boolean
tf
)
{
useFastPdu
=
tf
;
}
/** Retrieve the current timestamp in the time stamp style set at factory
* instantiation.
* @return the current timestamp in the time stamp style set at factory
...
...
@@ -1539,12 +1529,7 @@ public class PduFactory
// NOTE: 'OTHER' is a valid pduTypeEnum, but has no corresponding object
case
ENTITY_STATE:
// if the user has created the factory requesting that he get fast espdus back, give him those.
if
(
useFastPdu
)
{
aPdu
=
new
FastEntityStatePdu
();
}
else
{
aPdu
=
new
EntityStatePdu
();
}
aPdu
=
new
EntityStatePdu
();
break
;
case
FIRE:
...
...
@@ -1896,7 +1881,7 @@ public class PduFactory
if
(
nextByte
!=
0
)
{
remainingNonZeroDataFound
=
true
;
continue
;
//
continue;
}
}
if
(!
remainingNonZeroDataFound
)
...
...
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