edu.ksu.cis.projects.bogor.module.state.event
Class DefaultThreadEventNotifier
java.lang.Object
edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
edu.ksu.cis.projects.bogor.module.state.event.DefaultThreadEventNotifier
- All Implemented Interfaces:
- IEventNotifier, IThreadEventNotifier
public class DefaultThreadEventNotifier
- extends AbstractEventNotifier
- implements IThreadEventNotifier
- Version:
- CVS $Revision: 1.2 $ $Date: 2004/12/18 22:36:34 $
- Author:
- Robby
Method Summary |
void |
addLocalVarReadListener(ILocalVarReadListener gvrl)
|
void |
addLocalVarWrittenListener(ILocalVarWrittenListener gvwl)
|
void |
addLocationChangedListener(ILocationChangedListener lcl)
|
void |
addThreadCreatedListener(IThreadCreatedListener tcl)
|
void |
addThreadDiedListener(IThreadDiedListener tdl)
|
void |
addThreadEnterFunction(IThreadEnterFunctionListener tefl)
|
void |
addThreadExitFunction(IThreadExitFunctionListener tefl)
|
void |
notifyLocalVarRead(int threadId,
int localIndex,
IValue readValue)
|
void |
notifyLocalVarWritten(int threadId,
int localIndex,
IValue writtenValue,
IValue oldValue)
|
void |
notifyLocationChanged(int threadId,
int newLocDesc,
int oldLocDesc,
int transformationIndex)
|
void |
notifyThreadCreated(int creatorThreadId,
int threadId,
IValue[] localValues,
int locDesc)
|
void |
notifyThreadDied(int threadId,
IValue[] localValues,
int locDesc)
|
void |
notifyThreadEnterFunction(int threadId,
IValue[] localValues,
int locDesc,
int transformationIndex)
|
void |
notifyThreadExitFunction(int threadId,
IValue[] localValues,
int locDesc,
int transformationIndex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
localVarReadListeners
protected ArrayList<ILocalVarReadListener> localVarReadListeners
localVarWrittenListeners
protected ArrayList<ILocalVarWrittenListener> localVarWrittenListeners
locationChangedListeners
protected ArrayList<ILocationChangedListener> locationChangedListeners
threadCreatedListeners
protected ArrayList<IThreadCreatedListener> threadCreatedListeners
threadDiedListeners
protected ArrayList<IThreadDiedListener> threadDiedListeners
threadEnterFunctionListeners
protected ArrayList<IThreadEnterFunctionListener> threadEnterFunctionListeners
threadExitFunctionListeners
protected ArrayList<IThreadExitFunctionListener> threadExitFunctionListeners
DefaultThreadEventNotifier
public DefaultThreadEventNotifier()
addLocalVarReadListener
public void addLocalVarReadListener(ILocalVarReadListener gvrl)
- Specified by:
addLocalVarReadListener
in interface IThreadEventNotifier
addLocalVarWrittenListener
public void addLocalVarWrittenListener(ILocalVarWrittenListener gvwl)
- Specified by:
addLocalVarWrittenListener
in interface IThreadEventNotifier
addLocationChangedListener
public void addLocationChangedListener(ILocationChangedListener lcl)
- Specified by:
addLocationChangedListener
in interface IThreadEventNotifier
addThreadCreatedListener
public void addThreadCreatedListener(IThreadCreatedListener tcl)
- Specified by:
addThreadCreatedListener
in interface IThreadEventNotifier
addThreadDiedListener
public void addThreadDiedListener(IThreadDiedListener tdl)
- Specified by:
addThreadDiedListener
in interface IThreadEventNotifier
addThreadEnterFunction
public void addThreadEnterFunction(IThreadEnterFunctionListener tefl)
- Specified by:
addThreadEnterFunction
in interface IThreadEventNotifier
addThreadExitFunction
public void addThreadExitFunction(IThreadExitFunctionListener tefl)
- Specified by:
addThreadExitFunction
in interface IThreadEventNotifier
notifyLocalVarRead
public void notifyLocalVarRead(int threadId,
int localIndex,
IValue readValue)
- Specified by:
notifyLocalVarRead
in interface IThreadEventNotifier
notifyLocalVarWritten
public void notifyLocalVarWritten(int threadId,
int localIndex,
IValue writtenValue,
IValue oldValue)
- Specified by:
notifyLocalVarWritten
in interface IThreadEventNotifier
notifyLocationChanged
public void notifyLocationChanged(int threadId,
int newLocDesc,
int oldLocDesc,
int transformationIndex)
- Specified by:
notifyLocationChanged
in interface IThreadEventNotifier
notifyThreadCreated
public void notifyThreadCreated(int creatorThreadId,
int threadId,
IValue[] localValues,
int locDesc)
- Specified by:
notifyThreadCreated
in interface IThreadEventNotifier
notifyThreadDied
public void notifyThreadDied(int threadId,
IValue[] localValues,
int locDesc)
- Specified by:
notifyThreadDied
in interface IThreadEventNotifier
notifyThreadEnterFunction
public void notifyThreadEnterFunction(int threadId,
IValue[] localValues,
int locDesc,
int transformationIndex)
- Specified by:
notifyThreadEnterFunction
in interface IThreadEventNotifier
notifyThreadExitFunction
public void notifyThreadExitFunction(int threadId,
IValue[] localValues,
int locDesc,
int transformationIndex)
- Specified by:
notifyThreadExitFunction
in interface IThreadEventNotifier