Package org.logicalcobwebs.proxool
Class CompositeStateListener
- java.lang.Object
-
- org.logicalcobwebs.proxool.util.AbstractListenerContainer
-
- org.logicalcobwebs.proxool.CompositeStateListener
-
- All Implemented Interfaces:
StateListenerIF
,ListenerContainerIF
public class CompositeStateListener extends AbstractListenerContainer implements StateListenerIF
AStateListenerIF
that keeps a list ofStateListenerIF
s and notifies them in a thread safe manner. It also implementsListenerContainerIF
which provides methods foradding
andremoving
listeners.- Since:
- Proxool 0.7
- Version:
- $Revision: 1.6 $, $Date: 2006/01/18 14:40:01 $
- Author:
- Christian Nedregaard (christian_nedregaard@email.com), $Author: billhorsman $ (current maintainer)
-
-
Field Summary
-
Fields inherited from interface org.logicalcobwebs.proxool.StateListenerIF
STATE_BUSY, STATE_DOWN, STATE_OVERLOADED, STATE_QUIET
-
-
Constructor Summary
Constructors Constructor Description CompositeStateListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
upStateChanged(int upState)
-
Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer
addListener, getListeners, isEmpty, removeListener
-
-
-
-
Method Detail
-
upStateChanged
public void upStateChanged(int upState)
- Specified by:
upStateChanged
in interfaceStateListenerIF
- See Also:
StateListenerIF.upStateChanged(int)
-
-