org.jactr.core.buffer.event
Class ActivationBufferListenerDecorator

java.lang.Object
  extended by org.jactr.core.buffer.event.ActivationBufferListenerDecorator
All Implemented Interfaces:
java.util.EventListener, IActivationBufferListener, IParameterListener

public class ActivationBufferListenerDecorator
extends java.lang.Object
implements IActivationBufferListener

Author:
developer

Constructor Summary
ActivationBufferListenerDecorator(IActivationBufferListener listener)
           
 
Method Summary
 void chunkMatched(ActivationBufferEvent abe)
          called when a chunk has been matched within the buffer by a some production that has fired
 void parameterChanged(IParameterEvent pe)
           
 void requestAccepted(ActivationBufferEvent abe)
          called when a pattern is added to the buffer
 void sourceChunkAdded(ActivationBufferEvent abe)
          called when a source chunk is added to the buffer
 void sourceChunkRemoved(ActivationBufferEvent abe)
          called when a source chunk is removed from the buffer
 void sourceChunksCleared(ActivationBufferEvent abe)
          called when all the chunks are removed from the buffer
 void statusSlotChanged(ActivationBufferEvent abe)
          name says it all
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivationBufferListenerDecorator

public ActivationBufferListenerDecorator(IActivationBufferListener listener)
Method Detail

chunkMatched

public void chunkMatched(ActivationBufferEvent abe)
Description copied from interface: IActivationBufferListener
called when a chunk has been matched within the buffer by a some production that has fired

Specified by:
chunkMatched in interface IActivationBufferListener
See Also:
IActivationBufferListener.chunkMatched(org.jactr.core.buffer.event.ActivationBufferEvent)

requestAccepted

public void requestAccepted(ActivationBufferEvent abe)
Description copied from interface: IActivationBufferListener
called when a pattern is added to the buffer

Specified by:
requestAccepted in interface IActivationBufferListener
See Also:
IActivationBufferListener.requestAccepted(org.jactr.core.buffer.event.ActivationBufferEvent)

sourceChunkAdded

public void sourceChunkAdded(ActivationBufferEvent abe)
Description copied from interface: IActivationBufferListener
called when a source chunk is added to the buffer

Specified by:
sourceChunkAdded in interface IActivationBufferListener
See Also:
IActivationBufferListener.sourceChunkAdded(org.jactr.core.buffer.event.ActivationBufferEvent)

sourceChunkRemoved

public void sourceChunkRemoved(ActivationBufferEvent abe)
Description copied from interface: IActivationBufferListener
called when a source chunk is removed from the buffer

Specified by:
sourceChunkRemoved in interface IActivationBufferListener
See Also:
IActivationBufferListener.sourceChunkRemoved(org.jactr.core.buffer.event.ActivationBufferEvent)

sourceChunksCleared

public void sourceChunksCleared(ActivationBufferEvent abe)
Description copied from interface: IActivationBufferListener
called when all the chunks are removed from the buffer

Specified by:
sourceChunksCleared in interface IActivationBufferListener
See Also:
IActivationBufferListener.sourceChunksCleared(org.jactr.core.buffer.event.ActivationBufferEvent)

statusSlotChanged

public void statusSlotChanged(ActivationBufferEvent abe)
Description copied from interface: IActivationBufferListener
name says it all

Specified by:
statusSlotChanged in interface IActivationBufferListener
See Also:
IActivationBufferListener.statusSlotChanged(org.jactr.core.buffer.event.ActivationBufferEvent)

parameterChanged

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