FileDocCategorySizeDatePackage
ListenerList.javaAPI DocApache Commons NET 1.4.1 API1424Sat Dec 03 10:05:48 GMT 2005org.apache.commons.net.util

ListenerList

public class ListenerList extends Object implements Serializable
author
Daniel F. Savarese

Fields Summary
private Vector
__listeners
Constructors Summary
public ListenerList()

        __listeners = new Vector();
    
Methods Summary
public synchronized voidaddListener(java.util.EventListener listener)

        __listeners.addElement(listener);
    
public intgetListenerCount()

        return __listeners.size();
    
public synchronized java.util.EnumerationgetListeners()

        return ((Vector)__listeners.clone()).elements();
    
public synchronized voidremoveListener(java.util.EventListener listener)

        __listeners.removeElement(listener);