Class NmeaStreamProcessor


  • public class NmeaStreamProcessor
    extends java.lang.Object
    Extracts time from a message if possible and reports results to listeners.
    Author:
    dxm
    • Constructor Detail

      • NmeaStreamProcessor

        public NmeaStreamProcessor​(NmeaStreamProcessorListener listener,
                                   boolean matchWithTimestampLine,
                                   long logCountFrequency,
                                   int nmeaBufferSize)
        Constructor.
        Parameters:
        listener -
        matchWithTimestampLine -
      • NmeaStreamProcessor

        public NmeaStreamProcessor​(NmeaStreamProcessorListener listener,
                                   boolean matchWithTimestampLine,
                                   long logCountFrequency)
        Constructor.
        Parameters:
        listener -
        matchWithTimestampLine -
    • Method Detail

      • line

        public void line​(java.lang.String line)
        Handles the arrival of a new NMEA line and assumes its arrival time is now.
        Parameters:
        line -