com.ibm.websphere.pmi.client.event
Class CpdEventSenderImpljava.lang.Object | +--com.ibm.websphere.pmi.client.event.CpdEventSenderImpl
- All Implemented Interfaces:
- java.lang.Cloneable, CpdEventSender, java.io.Serializable
- public class CpdEventSenderImpl
- extends java.lang.Object
- implements CpdEventSender, java.io.Serializable
- See Also:
- Serialized Form
Field Summary protected java.util.Vector listeners
static long serialVersionUID
Constructor Summary CpdEventSenderImpl()
Method Summary void addCpdEventListener(CpdEventListener al)
Add a data change listener: A listener that will be notified any time the data is updatedjava.lang.Object clone()
Return a clone of the data objectvoid notifyListeners(CpdEvent e)
Notify all the listners that there is new datavoid notifyListeners(int type)
void removeCpdEventListener(CpdEventListener al)
Methods inherited from class java.lang.Object equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
listeners
protected transient java.util.Vector listeners
Constructor Detail CpdEventSenderImpl
public CpdEventSenderImpl()
Method Detail addCpdEventListener
public void addCpdEventListener(CpdEventListener al)
- Add a data change listener: A listener that will be notified any time the data is updated
- Specified by:
- addCpdEventListener in interface CpdEventSender
removeCpdEventListener
public void removeCpdEventListener(CpdEventListener al)
- Specified by:
- removeCpdEventListener in interface CpdEventSender
notifyListeners
public void notifyListeners(CpdEvent e)
- Notify all the listners that there is new data
- Specified by:
- notifyListeners in interface CpdEventSender
notifyListeners
public void notifyListeners(int type)
- Specified by:
- notifyListeners in interface CpdEventSender
clone
public java.lang.Object clone()
- Return a clone of the data object
- Overrides:
- clone in class java.lang.Object
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.