no.ubicollab.osgi.service.positioning.gps
Interface PositioningPluginService

All Known Implementing Classes:
GpsPositioningImpl

public interface PositioningPluginService

Interface for the GPSPositioning Service. The service retrieves positioning data from a GPS device via the comport.
The service acts at a plug-in to the positioning service. This makes it possible for the Positioning Service to compare the data from several sources and pick the most accurate one. For this reason clients should not contact this service directly. Contact the Positioning Service instead

Author:
Andreas Brustad
See Also:
no.ubicollab.osgi.service.positioning.PositioningService

Method Summary
 double[] getPosition(java.lang.String username)
          Gets the position of a user
 

Method Detail

getPosition

double[] getPosition(java.lang.String username)
Gets the position of a user

Parameters:
username - The username of the user to be located
Returns:
a double[] of length 3. Where [0] = longitude, [1] = latitude, [2] = altitude, or null if the position of this user is not found.