public interface NMEAEmulator
however for AIS, it will need to set up a database query to extract the original AIVDM string data since these are not stored in the actual data blocks.
Modifier and Type | Method and Description |
---|---|
EmulatedData |
getNextData() |
boolean |
prepareDataSource(long[] timeLimits,
long timeOffset)
Prepare the data to be read into the emulator.
|
boolean prepareDataSource(long[] timeLimits, long timeOffset)
The task may be as simple as setting up an interator to go through the data already read into the datablock or it may involve setting up a new database query to get back to raw data.
timeLimits
- time limits for the emulationtimeOffset
- time offset - between when the data
were collected and the time they should be emulated at.EmulatedData getNextData()