public class EgtfParallelListener extends Object implements EgtfListener
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
Filter |
getFilter()
Get the filter results after the EGTF is done.
|
void |
interrupt()
Interrupts the EGTF.
|
void |
notifyProgress(EgtfEvent event)
Notifies progress.
|
void |
setFilter(Filter filter)
Set the filter results, this is done by the EGTF.
|
String |
toString() |
double |
wait(double untilProgress,
long timeout)
Waits until progress has been reached, or timeout was exceeded.
|
public double wait(double untilProgress,
long timeout)
throws InterruptedException
untilProgress - double; progress to wait untiltimeout - long; time out in millisecondsInterruptedException - when the calling thread is interruptedpublic void setFilter(Filter filter)
filter - Filter; filter resultspublic Filter getFilter()
public void notifyProgress(EgtfEvent event)
notifyProgress in interface EgtfListenerevent - EgtfEvent; eventpublic void interrupt()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.