jwo.landserf.process.gps
Interface GPSListener


public interface GPSListener

Listens for the transmission of position, time or date from the GPS. Transmission may be automatic (in real time), or may be in response to a request to the GPS for particular data.

Version:
2.2, 14th June, 2004.
Author:
Jo Wood, based on the design by Henrik Sorensen (haas@itu.dk).

Method Summary
 void dateReceived(GPSDate date)
          Invoked when the GPS transmits date data.
 void positionReceived(Position position)
          Invoked when the GPS transmits location data.
 void timeReceived(GPSTime time)
          Invoked when the GPS transmits time data.
 

Method Detail

timeReceived

public void timeReceived(GPSTime time)
Invoked when the GPS transmits time data.

Parameters:
time - Time data transmitted.

dateReceived

public void dateReceived(GPSDate date)
Invoked when the GPS transmits date data.

Parameters:
date - Date data transmitted.

positionReceived

public void positionReceived(Position position)
Invoked when the GPS transmits location data.

Parameters:
position - Position data transmitted.


Copyright Jo Wood, 1996-2005, last modified, 11th March, 2005