@Override
 public void handleEvent(VehicleLeavesTrafficEvent event) {
   if (modes.contains(event.getNetworkMode())) {
     delegate.handleEvent(event);
     vehicleIds.remove(event.getVehicleId());
   }
 }
Esempio n. 2
0
 @Override
 public void handleEvent(final VehicleLeavesTrafficEvent event) {
   if (ignoreLinkEvents) return;
   handleEvent(eventsPerPerson, event.getPersonId(), event);
 }