|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.beanbus.mega.BusConductorFilter
public class BusConductorFilter
Constructor Summary | |
---|---|
BusConductorFilter(BusConductor original)
|
Method Summary | |
---|---|
void |
addBusListener(BusListener listener)
Add a listener. |
protected void |
busCrashed(BusEvent event,
BusListener listener)
|
protected void |
busStarting(BusEvent event,
BusListener listener)
|
protected void |
busStopping(BusEvent event,
BusListener listener)
|
protected void |
busStopRequested(BusEvent event,
BusListener listener)
|
protected void |
busTerminated(BusEvent event,
BusListener 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. |
protected void |
tripBeginning(BusEvent event,
BusListener listener)
|
protected void |
tripEnding(BusEvent event,
BusListener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BusConductorFilter(BusConductor original)
Method Detail |
---|
protected void busStarting(BusEvent event, BusListener listener) throws BusCrashException
BusCrashException
protected void tripBeginning(BusEvent event, BusListener listener) throws BusCrashException
BusCrashException
protected void tripEnding(BusEvent event, BusListener listener) throws BusCrashException
BusCrashException
protected void busStopRequested(BusEvent event, BusListener listener)
protected void busStopping(BusEvent event, BusListener listener) throws BusCrashException
BusCrashException
protected void busCrashed(BusEvent event, BusListener listener)
protected void busTerminated(BusEvent event, BusListener listener)
public void addBusListener(BusListener listener)
BusConductor
addBusListener
in interface BusConductor
listener
- The listener.public void removeBusListener(BusListener listener)
BusConductor
removeBusListener
in interface BusConductor
listener
- The listener.public void cleanBus() throws BusCrashException
BusConductor
Batcher
so that
they can flush the bus.
cleanBus
in interface BusConductor
BusCrashException
public void requestBusStop()
BusConductor
requestBusStop
in interface BusConductor
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |