public class BusListenerAdapter extends java.lang.Object implements BusListener
BusListener
.Constructor and Description |
---|
BusListenerAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
busCrashed(BusEvent event)
Called if the bus has crashed.
|
void |
busStarting(BusEvent event)
The bus is starting.
|
void |
busStopping(BusEvent event)
The bus is stopping.
|
void |
busStopRequested(BusEvent event) |
void |
busTerminated(BusEvent event)
The bus has terminated.
|
void |
tripBeginning(BusEvent event)
Stage starting.
|
void |
tripEnding(BusEvent event)
Stage complete.
|
public void busStarting(BusEvent event) throws BusCrashException
BusListener
busStarting
in interface BusListener
BusCrashException
public void tripBeginning(BusEvent event) throws BusCrashException
BusListener
tripBeginning
in interface BusListener
BusCrashException
public void tripEnding(BusEvent event) throws BusCrashException
BusListener
tripEnding
in interface BusListener
BusCrashException
public void busStopRequested(BusEvent event)
busStopRequested
in interface BusListener
public void busStopping(BusEvent event) throws BusCrashException
BusListener
busStopping
in interface BusListener
BusCrashException
public void busCrashed(BusEvent event)
BusListener
busCrashed
in interface BusListener
public void busTerminated(BusEvent event)
BusListener
busStopping
or busCrashed
notification. Always called.busTerminated
in interface BusListener