|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openarchitectureware.debug.processing.handlers.VariablesRuntimeHandler
public class VariablesRuntimeHandler
This class handles the communication of variable names and values with the debug server.
It caches variable values with it's id and handles also cleanup of this cache if values are no longer used.
Field Summary |
---|
Fields inherited from interface org.openarchitectureware.debug.processing.IEventHandler |
---|
END_FRAME, NORMAL_FRAME |
Constructor Summary | |
---|---|
VariablesRuntimeHandler()
|
Method Summary | |
---|---|
void |
init(DebugMonitor monitor,
Connection connection)
initiate the instantiated handler. |
void |
postTask(java.lang.Object context)
pop the peek element from the stack |
void |
preTask(java.lang.Object element,
java.lang.Object context,
int state)
push the syntax element onto the stack |
void |
resumed()
no contribution here |
void |
run()
|
void |
started()
no contribution here |
void |
startListener()
start the listening process in an extra thread, if required |
void |
suspended()
no contribution here |
void |
terminated()
no contribution here |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VariablesRuntimeHandler()
Method Detail |
---|
public void init(DebugMonitor monitor, Connection connection)
IRuntimeHandler
DebugMonitor
and Connection
instances that may be needed for the handler to do it's workDebugMonitor
dependent on the type of handler.
init
in interface IRuntimeHandler
monitor
- the DebugMonitorconnection
- the connection to the debugger frameworkpublic void startListener()
IRuntimeHandler
startListener
in interface IRuntimeHandler
public void run()
run
in interface java.lang.Runnable
public void preTask(java.lang.Object element, java.lang.Object context, int state)
preTask
in interface IEventHandler
org.openarchitectureware.debug.processing.IEventHandler#preTask(java.lang.Object, int)
public void postTask(java.lang.Object context)
postTask
in interface IEventHandler
org.openarchitectureware.debug.processing.IEventHandler#postTask()
public void resumed()
resumed
in interface IEventHandler
IEventHandler.resumed()
public void suspended()
suspended
in interface IEventHandler
IEventHandler.resumed()
public void started()
started
in interface IEventHandler
IEventHandler.resumed()
public void terminated()
terminated
in interface IEventHandler
IEventHandler.resumed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |