openlvc / disco

Java library for Distributed Interactive Simulation
11 stars 3 forks source link

Add Duplicator support for logging and replaying unparsed/unknown PDUs #33

Open timpokorny opened 4 years ago

timpokorny commented 4 years ago

Summary

By default, the Distributor will only record PDUs that it can parse. This makes sense, but can also be a bit limiting sometimes given that we don't cover the full spec. Also, we can't record sessions containing data we want to support, which would be a good way to later test/verify support when we add it.

In this ticket, I want to update the Duplicator to be able to store Raw PDUs. We can parse the header, but not the body contents, and then replay that out (adjusting the header as required) raw.