Oracle Application Server Wireless Java API Reference
B10400-01

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
 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
CallerLocationException

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
CallerLocationException

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.