public class TraceManager extends ALSBDebuggerObject implements ITraceManager, IEventPacketListener
| Constructor and Description |
|---|
TraceManager(ALSBDebugger debugger)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes thie manager
|
void |
init()
init dependencies
|
void |
newEvent(Packet packet)
notifies of a new event
|
ITraceEvent |
remove()
Waits forever for the next available event.
|
ITraceEvent |
remove(long timeout)
Waits a specified time for the next available event (a value of 0 is equivalent to calling
remove()). |
void |
toggleTracing(boolean enabled)
enable/disable tracing
|
debugger, equals, hashCode, validateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitdebugger, toStringpublic TraceManager(ALSBDebugger debugger)
public void init()
public void toggleTracing(boolean enabled)
toggleTracing in interface ITraceManagerpublic ITraceEvent remove() throws java.lang.InterruptedException
remove in interface ITraceManagerjava.lang.InterruptedExceptionpublic ITraceEvent remove(long timeout) throws java.lang.InterruptedException
remove()). Returns null if no event was received in the specified time.remove in interface ITraceManagerjava.lang.InterruptedExceptionpublic void newEvent(Packet packet)
newEvent in interface IEventPacketListenerpublic void close()