no.ubicollab.osgi
Interface PositioningPluginService

All Superinterfaces:
java.rmi.Remote

public interface PositioningPluginService
extends java.rmi.Remote

This interface is implemented by the proxy generated by the DynamicProxyGenerator class. Plugins do not need to implement this exact interface, but they have to implement a method with the same signarure as in this interface.

Author:
Andreas Brustad
See Also:
DynamicProxyGenerator

Method Summary
 double[] getPosition(java.lang.String username)
          All plugins have to implement this method.
 

Method Detail

getPosition

double[] getPosition(java.lang.String username)
All plugins have to implement this method.

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 in this plugins.