Class NmeaReaderFromSocket

  • All Implemented Interfaces:
    NmeaReader

    public class NmeaReaderFromSocket
    extends java.lang.Object
    implements NmeaReader
    Reads NMEA messages from a Socket.
    Author:
    dxm
    • Constructor Summary

      Constructors 
      Constructor Description
      NmeaReaderFromSocket​(java.lang.String host, int port)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.Iterable<java.lang.String> read()
      Returns an Iterable of the NMEA messages.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NmeaReaderFromSocket

        public NmeaReaderFromSocket​(java.lang.String host,
                                    int port)
        Constructor.
        Parameters:
        host -
        port -
    • Method Detail

      • read

        public java.lang.Iterable<java.lang.String> read()
        Description copied from interface: NmeaReader
        Returns an Iterable of the NMEA messages.
        Specified by:
        read in interface NmeaReader
        Returns:
      • close

        public void close()