E
- is the templated type of the events to send.L
- is the templated type of the listeners that can be registered
here and
that will receive
the sent events.public abstract class AbstractSynchronizedEventSource<E extends Event,L extends EventListener<E>> extends AbstractEventSource<E,L>
AbstractEventSource
with the ability of synchronization and therefore is thread-safe. ConcurrentLinkedQueue
and therefore allows adding
or removing
of listeners
during
event-handling
.Constructor and Description |
---|
AbstractSynchronizedEventSource()
The constructor.
|
addListener, fireEvent, fireEvent, handleListenerError, removeListener
createLogger, doInitialize, getLogger
doInitialized, getInitializationState, initialize
Copyright © 2001–2016 mmm-Team. All rights reserved.