|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nutiteq.services.OpenLSDirections
public class OpenLSDirections
OpenLS directions service using Nutiteq's backend.
| Field Summary | |
|---|---|
static java.lang.String |
NUTITEQ_DEFAULT_SERVICE_URL
Default baseurl for the service. |
| Fields inherited from interface com.nutiteq.services.DirectionsService |
|---|
ERROR_DESTINATION_ADDRESS_NOT_FOUND, ERROR_FROM_ADDRESS_NOT_FOUND, ERROR_FROM_AND_DESTINATION_ADDRESS_SAME, ERROR_ROUTE_NOT_FOUND, IMAGE_ROUTE_END, IMAGE_ROUTE_LEFT, IMAGE_ROUTE_RIGHT, IMAGE_ROUTE_START, IMAGE_ROUTE_STRAIGHT |
| Constructor Summary | |
|---|---|
OpenLSDirections(DirectionsWaiter directionsWaiter,
java.lang.String baseurl,
java.lang.String language,
WgsPoint routeStart,
WgsPoint routeEnd)
|
|
| Method Summary | |
|---|---|
void |
cancel()
Cancel service execution |
void |
dataRetrieved(byte[] data)
Data for resource retrieved |
void |
execute()
Performe service action |
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 |
| Field Detail |
|---|
public static final java.lang.String NUTITEQ_DEFAULT_SERVICE_URL
| Constructor Detail |
|---|
public OpenLSDirections(DirectionsWaiter directionsWaiter,
java.lang.String baseurl,
java.lang.String language,
WgsPoint routeStart,
WgsPoint routeEnd)
directionsWaiter - object waiting for directions resultbaseurl - baseurl for the servicelanguage - used languagerouteStart - star point for route (in WGS84)routeEnd - end point for route (in WGS84)| Method Detail |
|---|
public java.lang.String resourcePath()
ResourceRequestor
resourcePath in interface ResourceRequestorpublic void dataRetrieved(byte[] data)
ResourceDataWaiter
dataRetrieved in interface ResourceDataWaiterdata - retrieved datapublic void notifyError()
ResourceRequestor
notifyError in interface ResourceRequestorpublic void execute()
Service
execute in interface Servicepublic void cancel()
Service
cancel in interface Servicepublic int getCachingLevel()
ResourceRequestorCache
getCachingLevel in interface ResourceRequestor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||