com.nutiteq.services
Interface DirectionsWaiter


public interface DirectionsWaiter

Interface for classes waiting on directions service


Method Summary
 void networkError()
          Network error has occurred during directions service execution
 void routeFound(Route route)
          Give resut to waiting object
 void routingErrors(int errors)
          Server side routing errors.
 void routingParsingError(java.lang.String message)
          Parsing error notification
 

Method Detail

networkError

void networkError()
Network error has occurred during directions service execution


routeFound

void routeFound(Route route)
Give resut to waiting object

Parameters:
route - found route

routingParsingError

void routingParsingError(java.lang.String message)
Parsing error notification

Parameters:
message - detalis

routingErrors

void routingErrors(int errors)
Server side routing errors. Codes defined in OpenLSDirections

Parameters:
errors - possible error codes from server