com.nutiteq.location.cellid
Class OpenCellIdMeasurePushTask

java.lang.Object
  extended by com.nutiteq.location.cellid.OpenCellIdMeasurePushTask
All Implemented Interfaces:
ResourceDataWaiter, ResourceRequestor

public class OpenCellIdMeasurePushTask
extends java.lang.Object
implements ResourceRequestor, ResourceDataWaiter


Constructor Summary
OpenCellIdMeasurePushTask(java.lang.String developerKey, WgsPoint pushedLocation, Cell pushedCell, CellIdDataFeederListener feederListener)
           
 
Method Summary
 void dataRetrieved(byte[] data)
          Data for resource retrieved
 int getCachingLevel()
          Define at which level should given resource be cached.
 void notifyError()
          Notify implementing object about retrieval error
 java.lang.String resourcePath()
          Get path to resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenCellIdMeasurePushTask

public OpenCellIdMeasurePushTask(java.lang.String developerKey,
                                 WgsPoint pushedLocation,
                                 Cell pushedCell,
                                 CellIdDataFeederListener feederListener)
Method Detail

resourcePath

public java.lang.String resourcePath()
Description copied from interface: ResourceRequestor
Get path to resource. Currently library supports retrieval from network and application jar

Specified by:
resourcePath in interface ResourceRequestor
Returns:
path to resource

notifyError

public void notifyError()
Description copied from interface: ResourceRequestor
Notify implementing object about retrieval error

Specified by:
notifyError in interface ResourceRequestor

dataRetrieved

public void dataRetrieved(byte[] data)
Description copied from interface: ResourceDataWaiter
Data for resource retrieved

Specified by:
dataRetrieved in interface ResourceDataWaiter
Parameters:
data - retrieved data

getCachingLevel

public int getCachingLevel()
Description copied from interface: ResourceRequestor
Define at which level should given resource be cached. Check Cache

Specified by:
getCachingLevel in interface ResourceRequestor
Returns:
cache level for resource