net.yura.mobile.io
Class LocationMonitor

java.lang.Object
  extended by net.yura.mobile.io.LocationMonitor
All Implemented Interfaces:
ServiceLink.TaskHandler

public abstract class LocationMonitor
extends Object
implements ServiceLink.TaskHandler

Author:
AP

Nested Class Summary
 class LocationMonitor.J2MECellMonitor
           
 
Field Summary
(package private)  boolean bCellNotifyMade
           
(package private)  boolean bCellRequestMade
           
(package private)  boolean bJ2MECellMonitorLoop
           
static String COUNTRY_CODE_TYPE
           
(package private) static int j2meCellPollRateInSeconds
           
(package private)  String j2mePreviousCell
           
static String LOCATION_AREA_CODE_TYPE
           
static String NETWORK_CODE_TYPE
           
static String SUBSCRIBER_HOME_COUNTRY_TYPE
           
static String SUBSCRIBER_IMSI_TYPE
           
(package private)  Timer timer
           
 
Constructor Summary
LocationMonitor()
          Creates a new instance of LocationMonitor
 
Method Summary
 void getCellId()
           
 javax.microedition.location.Coordinates getGPS()
           
 void getWifiList()
           
 void setNotifyForCellId(boolean b)
           
 void setNotifyForWifiList(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.yura.mobile.io.ServiceLink.TaskHandler
handleTask
 

Field Detail

bCellNotifyMade

boolean bCellNotifyMade

bCellRequestMade

boolean bCellRequestMade

bJ2MECellMonitorLoop

boolean bJ2MECellMonitorLoop

COUNTRY_CODE_TYPE

public static final String COUNTRY_CODE_TYPE
See Also:
Constant Field Values

j2meCellPollRateInSeconds

static final int j2meCellPollRateInSeconds
See Also:
Constant Field Values

j2mePreviousCell

String j2mePreviousCell

LOCATION_AREA_CODE_TYPE

public static final String LOCATION_AREA_CODE_TYPE
See Also:
Constant Field Values

NETWORK_CODE_TYPE

public static final String NETWORK_CODE_TYPE
See Also:
Constant Field Values

SUBSCRIBER_HOME_COUNTRY_TYPE

public static final String SUBSCRIBER_HOME_COUNTRY_TYPE
See Also:
Constant Field Values

SUBSCRIBER_IMSI_TYPE

public static final String SUBSCRIBER_IMSI_TYPE
See Also:
Constant Field Values

timer

Timer timer
Constructor Detail

LocationMonitor

public LocationMonitor()
Creates a new instance of LocationMonitor

Method Detail

getCellId

public void getCellId()

getGPS

public javax.microedition.location.Coordinates getGPS()
                                               throws javax.microedition.location.LocationException,
                                                      InterruptedException
Throws:
javax.microedition.location.LocationException
InterruptedException

getWifiList

public void getWifiList()

setNotifyForCellId

public void setNotifyForCellId(boolean b)

setNotifyForWifiList

public void setNotifyForWifiList(boolean b)