// TODO jaanus : read as gzip stream
 public void dataRetrieved(final byte[] data) {
   final OpenLSReader reader = new OpenLSReader(data, directionsWaiter);
   try {
     final Route route = reader.read();
     directionsWaiter.routeFound(route);
   } catch (final IOException e) {
     directionsWaiter.routingParsingError(e.getMessage());
   }
 }
 public void notifyError() {
   directionsWaiter.networkError();
 }