public class ConsoleGui extends Object
Constructor and Description |
---|
ConsoleGui(ApplicationOptions applicationOptions) |
Modifier and Type | Method and Description |
---|---|
void |
handleTrafficAlert(TrafficAlert trafficAlert) |
void |
handleTrafficStatistics(TrafficStatistic trafficStatistic) |
void |
start(Runnable exitCallback)
Runs the Console GUI.
|
public ConsoleGui(ApplicationOptions applicationOptions)
public void handleTrafficStatistics(TrafficStatistic trafficStatistic)
public void handleTrafficAlert(TrafficAlert trafficAlert)
public void start(Runnable exitCallback) throws IOException
exitCallback
- the Runnable
to execute when when closing the Console Gui.IOException
- If there was an underlying I/O error when querying the size of the
terminal.Copyright © 2019. All rights reserved.