jwo.landserf.process.gps
Interface GPSTransferListener

All Known Subinterfaces:
GPSRouteListener, GPSTrackListener, GPSWaypointListener
All Known Implementing Classes:
ConnectionTest, GPSImportBox

public interface GPSTransferListener

Used for notification of handling transfers of data to or from a GPS.

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

Method Summary
 void transferComplete(int commandID)
          Should indicate that the data transfer is complete.
 void transferStarted(int numItems)
          Should indicate that the transfer of data has started.
 

Method Detail

transferStarted

public void transferStarted(int numItems)
Should indicate that the transfer of data has started.

Parameters:
numItems - The number of data items that will be transferred. e.g. The number of waypoints or -1 not possible to tell how many data items will be transferred.

transferComplete

public void transferComplete(int commandID)
Should indicate that the data transfer is complete.

Parameters:
commandID - ID of command that has been completed.


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