public class DefaultGoalBuffer6 extends DefaultDelegatedRequestableBuffer6 implements ICompilableBuffer
ACTIVATION_PARAM, GOAL_VALUE_PARAM, STRICT_HARVESTING_PARAM
AURAL, AURAL_LOCATION, GOAL, IMAGINAL, MOTOR, RETRIEVAL, VISUAL, VISUAL_LOCATION, VOCAL
BUFFER_SLOT, ERROR_CHANGED_TOO_MUCH_CHUNK, ERROR_DELETED_CHUNK, ERROR_INVALID_INDEX_CHUNK, ERROR_NO_LONGER_AVAILABLE_CHUNK, ERROR_NOTHING_AVAILABLE_CHUNK, ERROR_NOTHING_MATCHES_CHUNK, ERROR_SLOT, ERROR_UNKNOWN_CHUNK, STATE_SLOT
Constructor and Description |
---|
DefaultGoalBuffer6(java.lang.String name,
IModule module) |
Modifier and Type | Method and Description |
---|---|
protected IChunk |
addSourceChunkInternal(IChunk chunk)
return the source chunk that was actually inserted into the buffer (i.e.
|
ICompilableContext |
getCompilableContext() |
protected boolean |
removeSourceChunkInternal(IChunk chunk)
do the actual work of removing chunkToRemove from the buffer.
|
addRequestDelegate, clearInternal, getRequestDelegates, getSourceChunkInternal, getSourceChunksInternal, removeRequestDelegate, requestInternal, setSourceChunkInternal, willAccept
request
addListener, addSlot, addSourceChunk, bind, checkStatusSlotContent, dispose, getBusyChunk, getEmptyChunk, getErrorChunk, getFreeChunk, getFullChunk, getRequestedChunk, getSlot, getSlots, getSlots, getUnrequestedChunk, grabReferences, hasSlot, isBufferEmpty, isBufferFull, isBufferRequested, isBufferUnrequested, isErrorSet, isStateBusy, isStateError, isStateFree, removeListener, removeSlot, setBufferChunk, setErrorChunk, setStateChunk, setStatusSlotContent, shouldAcceptAsSource, shouldCopyOnInsertion, sourceChunkCopied, valueChanged
addListener, clear, contains, containsExact, getActivation, getActivationSpreader, getEventDispatcher, getG, getLock, getModel, getModule, getName, getParameter, getPossibleParameters, getSetableParameters, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, initialize, isStrictHarvestingEnabled, matched, matchedInternal, removeListener, removeSourceChunk, setActivation, setActivationSpreader, setG, setParameter, setStrictHarvestingEnabled, toString
addAdapterFactory, getAdapter, removeAdapterFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addListener, addSourceChunk, clear, contains, dispose, getActivation, getG, getModel, getModule, getName, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, removeListener, removeSourceChunk, setActivation, setG
initialize
getAdapter
request
public DefaultGoalBuffer6(java.lang.String name, IModule module)
protected IChunk addSourceChunkInternal(IChunk chunk)
AbstractActivationBuffer
addSourceChunkInternal
in class DefaultDelegatedRequestableBuffer6
chunk
- the chunk to be inserted, will never be null nor already in the
bufferprotected boolean removeSourceChunkInternal(IChunk chunk)
AbstractActivationBuffer
removeSourceChunkInternal
in class DefaultDelegatedRequestableBuffer6
chunk
- chunk that is in the buffer, never nullpublic ICompilableContext getCompilableContext()
getCompilableContext
in interface ICompilableBuffer