edu.ksu.cis.projects.bogor.module.state.event
Class DefaultStateEventNotifier
java.lang.Object
edu.ksu.cis.projects.bogor.module.event.AbstractEventNotifier
edu.ksu.cis.projects.bogor.module.state.event.DefaultStateEventNotifier
- All Implemented Interfaces:
- IEventNotifier, IGlobalVarEventNotifier, ISearchEventNotifier, IStateEventNotifier, IThreadEventNotifier
public class DefaultStateEventNotifier
- extends AbstractEventNotifier
- implements IStateEventNotifier
- Version:
- CVS $Revision: 1.4 $ $Date: 2005/02/10 21:47:42 $
- Author:
- Robby
Method Summary |
void |
addDepthChangedListener(IDepthChangedListener listener)
|
void |
addGlobalVarReadListener(IGlobalVarReadListener gvrl)
|
void |
addGlobalVarWrittenListener(IGlobalVarWrittenListener gvwl)
|
void |
addLocalVarReadListener(ILocalVarReadListener gvrl)
|
void |
addLocalVarWrittenListener(ILocalVarWrittenListener gvwl)
|
void |
addLocationChangedListener(ILocationChangedListener lcl)
|
void |
addStateEventNotifier(IStateEventListener sel)
|
void |
addThreadCreatedListener(IThreadCreatedListener tcl)
|
void |
addThreadDiedListener(IThreadDiedListener tdl)
|
void |
addThreadEnterFunction(IThreadEnterFunctionListener tefl)
|
void |
addThreadExitFunction(IThreadExitFunctionListener tefl)
|
void |
enableNotification(Object key)
|
void |
enableNotification(Set<Object> keys)
|
void |
notifyCurrentDepthChanged(int oldDepth,
int newDepth)
|
void |
notifyGlobalVarRead(int threadId,
int globalIndex,
IValue readValue)
|
void |
notifyGlobalVarWritten(int threadId,
int globalIndex,
IValue writtenValue,
IValue oldValue)
|
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)
|
void |
removeEnableNotificationKey(Object key)
|
void |
removeEnableNotificationKeys(Set<Object> keys)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dgven
protected DefaultGlobalVarEventNotifier dgven
dten
protected DefaultThreadEventNotifier dten
dsen
protected DefaultSearchEventNotifier dsen
DefaultStateEventNotifier
public DefaultStateEventNotifier()
addGlobalVarReadListener
public void addGlobalVarReadListener(IGlobalVarReadListener gvrl)
- Specified by:
addGlobalVarReadListener
in interface IGlobalVarEventNotifier
addGlobalVarWrittenListener
public void addGlobalVarWrittenListener(IGlobalVarWrittenListener gvwl)
- Specified by:
addGlobalVarWrittenListener
in interface IGlobalVarEventNotifier
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
addStateEventNotifier
public void addStateEventNotifier(IStateEventListener sel)
- Specified by:
addStateEventNotifier
in interface IStateEventNotifier
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
addDepthChangedListener
public void addDepthChangedListener(IDepthChangedListener listener)
- Specified by:
addDepthChangedListener
in interface ISearchEventNotifier
enableNotification
public void enableNotification(Object key)
- Specified by:
enableNotification
in interface IEventNotifier
- Overrides:
enableNotification
in class AbstractEventNotifier
enableNotification
public void enableNotification(Set<Object> keys)
- Specified by:
enableNotification
in interface IEventNotifier
- Overrides:
enableNotification
in class AbstractEventNotifier
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
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
notifyCurrentDepthChanged
public void notifyCurrentDepthChanged(int oldDepth,
int newDepth)
- Specified by:
notifyCurrentDepthChanged
in interface ISearchEventNotifier
removeEnableNotificationKey
public void removeEnableNotificationKey(Object key)
- Specified by:
removeEnableNotificationKey
in interface IEventNotifier
- Overrides:
removeEnableNotificationKey
in class AbstractEventNotifier
removeEnableNotificationKeys
public void removeEnableNotificationKeys(Set<Object> keys)
- Specified by:
removeEnableNotificationKeys
in interface IEventNotifier
- Overrides:
removeEnableNotificationKeys
in class AbstractEventNotifier