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