de.fhg.igd.jhsm
Class HSMEventBus
java.lang.Object
de.fhg.igd.jhsm.AbstractDispatcher
de.fhg.igd.jhsm.HSMEventBus
- All Implemented Interfaces:
- Dispatcher, EventBus, EventListener, Serializable
- public class HSMEventBus
- extends AbstractDispatcher
- implements EventBus, Serializable
A dispatcher for global hsm events. Events that are dispatched via the event
bus can affect the whole statemachine.
- Version:
- "$Id: HSMEventBus.java 1913 2007-08-08 02:41:53Z jpeters $"
- Author:
- Jan Haevecker
- See Also:
- Serialized Form
LOG
private final Logger LOG
dispatcher_
private EventListener dispatcher_
HSMEventBus
public HSMEventBus(Interpreter dispatcher)
- Creates a new instance of this class.
eventReceived
public void eventReceived(Event event)
-
This implementation is thread-safe.
- Specified by:
eventReceived
in interface EventListener
toString
public String toString()
This implementation is thread-safe.
getDispatcher
public EventListener getDispatcher()
- Description copied from interface:
EventBus
- Returns the dispatcher for the associated hsm.
- Specified by:
getDispatcher
in interface EventBus
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.