Package cz.fidentis.analyst.data.face
Class HumanFaceEventBusImpl
java.lang.Object
cz.fidentis.analyst.data.face.HumanFaceEventBusImpl
- All Implemented Interfaces:
HumanFaceEventBus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Broadcast event to registered listeners.void
registerListener
(HumanFaceListener listener) Registers listeners (objects concerned in the human face changes) to receive events.void
unregisterListener
(HumanFaceListener listener) Unregisters listeners from receiving events.
-
Constructor Details
-
HumanFaceEventBusImpl
public HumanFaceEventBusImpl()
-
-
Method Details
-
registerListener
Description copied from interface:HumanFaceEventBus
Registers listeners (objects concerned in the human face changes) to receive events. If listener isnull
, no exception is thrown and no action is taken.- Specified by:
registerListener
in interfaceHumanFaceEventBus
- Parameters:
listener
- Listener concerned in the human face changes.
-
unregisterListener
Description copied from interface:HumanFaceEventBus
Unregisters listeners from receiving events.- Specified by:
unregisterListener
in interfaceHumanFaceEventBus
- Parameters:
listener
- Registered listener
-
announceEvent
Description copied from interface:HumanFaceEventBus
Broadcast event to registered listeners.- Specified by:
announceEvent
in interfaceHumanFaceEventBus
- Parameters:
evt
- Event to be triggered.
-