public class CompositeStateListener extends AbstractListenerContainer implements StateListenerIF
StateListenerIF that keeps a list of StateListenerIFs
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding and
removing listeners.STATE_BUSY, STATE_DOWN, STATE_OVERLOADED, STATE_QUIET| Constructor and Description |
|---|
CompositeStateListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
upStateChanged(int upState) |
addListener, getListeners, isEmpty, removeListenerpublic void upStateChanged(int upState)
upStateChanged in interface StateListenerIFStateListenerIF.upStateChanged(int)