Package au.gov.amsa.ais
Interface NmeaStreamProcessorListener
-
public interface NmeaStreamProcessorListenerReceives the results of Nmea stream processing.- Author:
- dxm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidinvalidNmea(java.lang.String line, long arrivalTime, java.lang.String message)Message has arrived that could not be parsed.voidmessage(java.lang.String line, long time)Message has arrived with given timestamp.voidtimestampNotFound(java.lang.String line, java.lang.Long arrivalTime)Message has arrived and could not be associated with a timestamp other than the arrival time.
-
-
-
Method Detail
-
message
void message(java.lang.String line, long time)Message has arrived with given timestamp.- Parameters:
line- nmea linetime- in epoch ms
-
timestampNotFound
void timestampNotFound(java.lang.String line, java.lang.Long arrivalTime)Message has arrived and could not be associated with a timestamp other than the arrival time.- Parameters:
line- nmea linearrivalTime- in epoch ms
-
invalidNmea
void invalidNmea(java.lang.String line, long arrivalTime, java.lang.String message)Message has arrived that could not be parsed.- Parameters:
line- nmea linearrivalTime- in epoch msmessage- the parse error message
-
-