oracle.panama.rt.hook
Interface CallerLocationHook


public interface CallerLocationHook

This interface represents the plug-in modules that determine the location of the caller.

Since:
Oracle9i Application Server Wireless Edition

Method Summary
TypeMethod
 Point getCurrentLocation(Request request)
          Delegate the caller tracking operation to an external module.
 Point getCurrentLocation(Session session)
          Delegate the caller tracking operation to an external module.
 

Method Detail

getCurrentLocation

public Point getCurrentLocation(Request request)
                         throws CallerLocationException
Delegate the caller tracking operation to an external module. The external module should get the callerId and callerIdType from the user object at request.getSession().getUser().
Returns:
latitude/longitude locator for the caller

getCurrentLocation

public Point getCurrentLocation(Session session)
                         throws CallerLocationException
Delegate the caller tracking operation to an external module. The external module should get the callerId and callerIdType from the user object at session.getUser().
Returns:
latitude/longitude locator for the caller