edu.ksu.cis.projects.bogor.module.state.event
Class DefaultGlobalVarEventNotifier
java.lang.Object
edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
edu.ksu.cis.projects.bogor.module.state.event.DefaultGlobalVarEventNotifier
- All Implemented Interfaces:
- IEventNotifier, IGlobalVarEventNotifier
public class DefaultGlobalVarEventNotifier
- extends AbstractEventNotifier
- implements IGlobalVarEventNotifier
- Version:
- CVS $Revision: 1.2 $ $Date: 2004/12/18 22:36:34 $
- Author:
- Robby
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
globalVarReadListeners
protected ArrayList<IGlobalVarReadListener> globalVarReadListeners
globalVarWrittenListeners
protected ArrayList<IGlobalVarWrittenListener> globalVarWrittenListeners
DefaultGlobalVarEventNotifier
public DefaultGlobalVarEventNotifier()
addGlobalVarReadListener
public void addGlobalVarReadListener(IGlobalVarReadListener gvrl)
- Specified by:
addGlobalVarReadListener
in interface IGlobalVarEventNotifier
addGlobalVarWrittenListener
public void addGlobalVarWrittenListener(IGlobalVarWrittenListener gvwl)
- Specified by:
addGlobalVarWrittenListener
in interface IGlobalVarEventNotifier
notifyGlobalVarRead
public void notifyGlobalVarRead(int threadId,
int globalIndex,
IValue readValue)
- Specified by:
notifyGlobalVarRead
in interface IGlobalVarEventNotifier
notifyGlobalVarWritten
public void notifyGlobalVarWritten(int threadId,
int globalIndex,
IValue writtenValue,
IValue oldValue)
- Specified by:
notifyGlobalVarWritten
in interface IGlobalVarEventNotifier