org.jactr.tools.tracer.listeners
Class BufferTracer

java.lang.Object
  extended by org.jactr.tools.tracer.listeners.BaseTraceListener
      extended by org.jactr.tools.tracer.listeners.BufferTracer
All Implemented Interfaces:
java.util.EventListener, org.jactr.core.buffer.event.IActivationBufferListener, org.jactr.core.event.IParameterListener, ITraceListener

public class BufferTracer
extends BaseTraceListener
implements org.jactr.core.buffer.event.IActivationBufferListener


Constructor Summary
BufferTracer()
           
 
Method Summary
 void chunkMatched(org.jactr.core.buffer.event.ActivationBufferEvent abe)
           
 void install(org.jactr.core.model.IModel model, java.util.concurrent.Executor executor)
           
 void parameterChanged(org.jactr.core.event.IParameterEvent pe)
           
 void requestAccepted(org.jactr.core.buffer.event.ActivationBufferEvent abe)
           
 void sourceChunkAdded(org.jactr.core.buffer.event.ActivationBufferEvent abe)
           
 void sourceChunkRemoved(org.jactr.core.buffer.event.ActivationBufferEvent abe)
           
 void sourceChunksCleared(org.jactr.core.buffer.event.ActivationBufferEvent abe)
           
 void statusSlotChanged(org.jactr.core.buffer.event.ActivationBufferEvent abe)
           
 void uninstall(org.jactr.core.model.IModel model)
           
 
Methods inherited from class org.jactr.tools.tracer.listeners.BaseTraceListener
setTraceSink
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferTracer

public BufferTracer()
Method Detail

install

public void install(org.jactr.core.model.IModel model,
                    java.util.concurrent.Executor executor)
Specified by:
install in interface ITraceListener

uninstall

public void uninstall(org.jactr.core.model.IModel model)
Specified by:
uninstall in interface ITraceListener

chunkMatched

public void chunkMatched(org.jactr.core.buffer.event.ActivationBufferEvent abe)
Specified by:
chunkMatched in interface org.jactr.core.buffer.event.IActivationBufferListener

requestAccepted

public void requestAccepted(org.jactr.core.buffer.event.ActivationBufferEvent abe)
Specified by:
requestAccepted in interface org.jactr.core.buffer.event.IActivationBufferListener

sourceChunkAdded

public void sourceChunkAdded(org.jactr.core.buffer.event.ActivationBufferEvent abe)
Specified by:
sourceChunkAdded in interface org.jactr.core.buffer.event.IActivationBufferListener

sourceChunkRemoved

public void sourceChunkRemoved(org.jactr.core.buffer.event.ActivationBufferEvent abe)
Specified by:
sourceChunkRemoved in interface org.jactr.core.buffer.event.IActivationBufferListener

sourceChunksCleared

public void sourceChunksCleared(org.jactr.core.buffer.event.ActivationBufferEvent abe)
Specified by:
sourceChunksCleared in interface org.jactr.core.buffer.event.IActivationBufferListener

statusSlotChanged

public void statusSlotChanged(org.jactr.core.buffer.event.ActivationBufferEvent abe)
Specified by:
statusSlotChanged in interface org.jactr.core.buffer.event.IActivationBufferListener

parameterChanged

public void parameterChanged(org.jactr.core.event.IParameterEvent pe)
Specified by:
parameterChanged in interface org.jactr.core.event.IParameterListener