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
AStateListenerIFthat keeps a list ofStateListenerIFs and notifies them in a thread safe manner. It also implementsListenerContainerIFwhich provides methods foraddingandremovinglisteners.- 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 voidupStateChanged(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:
upStateChangedin interfaceStateListenerIF- See Also:
StateListenerIF.upStateChanged(int)
-
-