Package org.opentcs.util.event
Interface EventHandler
- All Known Subinterfaces:
EventBus
- All Known Implementing Classes:
SimpleEventBus
public interface EventHandler
A handler for events emitted by an
EventSource
.-
Method Summary
Modifier and Type Method Description void
onEvent(java.lang.Object event)
Processes the event object.
-
Method Details
-
onEvent
void onEvent(java.lang.Object event)Processes the event object.- Parameters:
event
- The event object.
-