public interface BusConductor
BeanBus
.
Modifier and Type | Method and Description |
---|---|
void |
addBusListener(BusListener listener)
Add a listener.
|
void |
cleanBus()
Cleaning the bus will cause the trip to end and a new one to
begin.
|
void |
removeBusListener(BusListener listener)
Remove the listener.
|
void |
requestBusStop()
Request that the bus stop.
|
void cleanBus() throws BusCrashException
Batcher
so that
they can flush the bus.BusCrashException
void requestBusStop()
void addBusListener(BusListener listener)
listener
- The listener.void removeBusListener(BusListener listener)
listener
- The listener.