text: /*
   * *********************************************************************** *
   * project: org.matsim.*
   * *********************************************************************** *
   *                                                                         *
   * copyright       : (C) 2019 by the members listed in the COPYING,        *
   *                   LICENSE and WARRANTY file.                            *
   * email           : info at matsim dot org                                *
   *                                                                         *
   * *********************************************************************** *
   *                                                                         *
   *   This program is free software; you can redistribute it and/or modify  *
   *   it under the terms of the GNU General Public License as published by  *
   *   the Free Software Foundation; either version 2 of the License, or     *
   *   (at your option) any later version.                                   *
   *   See also COPYING, LICENSE and WARRANTY file                           *
   *                                                                         *
   * *********************************************************************** *
   */
  
  package org.matsim.contrib.dvrp.tracker;
  
  import org.matsim.api.core.v01.network.Link;
  import org.matsim.contrib.dvrp.fleet.DvrpVehicle;
  
  /**
   * @author Michal Maciejewski (michalm)
   */
  public interface OnlineTrackerListener {
  	OnlineTrackerListener NO_LISTENER = (vehicle, link) -> {
  	};
  
  	/**
  	 * Notifies that the next link was entered.
  	 *
  	 * @param vehicle
  	 * @param nextLink
  	 */
  	void vehicleEnteredNextLink(DvrpVehicle vehicle, Link nextLink);
  }
  