org.logicalcobwebs.proxool

Class CompositeStateListener

Implemented Interfaces:
ListenerContainerIF, StateListenerIF

public class CompositeStateListener
extends AbstractListenerContainer
implements StateListenerIF

A 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.
Version:
$Revision: 1.6 $, $Date: 2006/01/18 14:40:01 $
Authors:
Christian Nedregaard (christian_nedregaard@email.com)
$Author: billhorsman $ (current maintainer)
Since:
Proxool 0.7

Fields inherited from interface org.logicalcobwebs.proxool.StateListenerIF

STATE_BUSY, STATE_DOWN, STATE_OVERLOADED, STATE_QUIET

Method Summary

void
upStateChanged(int upState)

Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer

addListener, getListeners, isEmpty, removeListener

Method Details

upStateChanged

public void upStateChanged(int upState)
Specified by:
upStateChanged in interface StateListenerIF