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, validate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
debugger, toString
public TraceManager(ALSBDebugger debugger)
public void init()
public void toggleTracing(boolean enabled)
toggleTracing
in interface ITraceManager
public ITraceEvent remove() throws java.lang.InterruptedException
remove
in interface ITraceManager
java.lang.InterruptedException
public ITraceEvent remove(long timeout) throws java.lang.InterruptedException
remove()
). Returns null if no event was received in the specified time.remove
in interface ITraceManager
java.lang.InterruptedException
public void newEvent(Packet packet)
newEvent
in interface IEventPacketListener
public void close()