|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NMEAEmulator
Interface to assist a datablock in setting up emulated NMEA data. For something like the GPs, this may be very simple, in that it just has to convert the data units into String.
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.
| Method Summary | |
|---|---|
EmulatedData |
getNextData()
|
boolean |
prepareDataSource(long[] timeLimits,
long timeOffset)
Prepare the data to be read into the emulator. |
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||