de.michab.simulator
Interface Bus
- All Superinterfaces:
- Forwarder
- public interface Bus
- extends Forwarder
Models a bus, i.e. a connection between two system components. Currently
only 8 bit busses are supported. Operations on the Bus
are
forwarded to the attached listener. The Bus
has no internal
state, i.e. the written values are not saved, only passed through.
- Version:
- $Revision: 1.6 $
- Author:
- Michael G. Binz
setListener
public void setListener(Forwarder listener)
- Set the single bus listener. To remove the listener set it to
null
.
- Parameters:
listener
- The listener to set on this Bus
.