⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
org.apache.commons.net.util

Class ListenerList

java.lang.Object
|
+--org.apache.commons.net.util.ListenerList

All Implemented Interfaces:
Serializable


public class ListenerList
extends java.lang.Object
implements Serializable

Author:
Daniel F. Savarese

Constructor Summary

ListenerList()

Method Summary

synchronized void

addListener(EventListener listener)

int

getListenerCount()

synchronized Enumeration

getListeners()

synchronized void

removeListener(EventListener listener)

Constructor Details

ListenerList

public ListenerList()

Method Details

addListener

public synchronized void addListener(EventListener listener)

Parameters:
listener

getListenerCount

public int getListenerCount()


getListeners

public synchronized Enumeration getListeners()


removeListener

public synchronized void removeListener(EventListener listener)

Parameters:
listener