| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.bt747.gps.mtk.agps.AgpsUploadHandler
public class AgpsUploadHandler
Serial handler for AGPS data upload.
| Constructor Summary | |
|---|---|
AgpsUploadHandler()
 | 
|
AgpsUploadHandler(EventPoster poster)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
analyseResponse(java.lang.Object o)
These methods are called one after the other - not in separate threads.  | 
 boolean | 
notifyRun(GpsLinkHandler handler)
This method is called on regular intervals (every 10ms or so) so that this Handler can send commands to the device as needed.  | 
 void | 
setAgpsData(BT747InputStream is)
Sets the data stream to fetch the AGPS data from.  | 
 void | 
setAgpsData(byte[] data)
Uses the bytes data as AGPS data.  | 
| Methods inherited from class java.lang.Object | 
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AgpsUploadHandler(EventPoster poster)
public AgpsUploadHandler()
| Method Detail | 
|---|
public boolean analyseResponse(java.lang.Object o)
analyseResponse in interface DeviceOperationHandlerIFo - The receive packet.
public boolean notifyRun(GpsLinkHandler handler)
                  throws BT747Exception
DeviceOperationHandlerIF
notifyRun in interface DeviceOperationHandlerIFhandler - The handler to use the serial link.
BT747Exceptionpublic final void setAgpsData(BT747InputStream is)
is - public final void setAgpsData(byte[] data)
data - 
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||