Interface NmeaStreamProcessorListener


  • public interface NmeaStreamProcessorListener
    Receives the results of Nmea stream processing.
    Author:
    dxm
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void invalidNmea​(java.lang.String line, long arrivalTime, java.lang.String message)
      Message has arrived that could not be parsed.
      void message​(java.lang.String line, long time)
      Message has arrived with given timestamp.
      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.
    • Method Detail

      • message

        void message​(java.lang.String line,
                     long time)
        Message has arrived with given timestamp.
        Parameters:
        line - nmea line
        time - 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 line
        arrivalTime - 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 line
        arrivalTime - in epoch ms
        message - the parse error message