public abstract class AbstractRequestableBuffer6 extends AbstractActivationBuffer6 implements IRequestableBuffer
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 |
---|
AbstractRequestableBuffer6(java.lang.String name,
IModule module) |
Modifier and Type | Method and Description |
---|---|
boolean |
request(IRequest request,
double requestTime)
Make a request of the module.
|
protected abstract boolean |
requestInternal(IRequest request,
double requestTime)
actually do the work of the request.
|
addListener, addSlot, addSourceChunk, bind, checkStatusSlotContent, clearInternal, 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, addSourceChunkInternal, clear, contains, containsExact, getActivation, getActivationSpreader, getEventDispatcher, getG, getLock, getModel, getModule, getName, getParameter, getPossibleParameters, getSetableParameters, getSourceChunk, getSourceChunkInternal, getSourceChunks, getSourceChunks, getSourceChunksInternal, handlesEncoding, initialize, isStrictHarvestingEnabled, matched, matchedInternal, removeListener, removeSourceChunk, removeSourceChunkInternal, setActivation, setActivationSpreader, setG, setParameter, setStrictHarvestingEnabled, toString
addAdapterFactory, getAdapter, removeAdapterFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
willAccept
addListener, addSourceChunk, clear, contains, dispose, getActivation, getG, getModel, getModule, getName, getSourceChunk, getSourceChunks, getSourceChunks, handlesEncoding, isStrictHarvestingEnabled, matched, removeListener, removeSourceChunk, setActivation, setG
initialize
getAdapter
public AbstractRequestableBuffer6(java.lang.String name, IModule module)
public boolean request(IRequest request, double requestTime) throws java.lang.IllegalArgumentException
IRequestableBuffer
request
in interface IRequestableBuffer
java.lang.IllegalArgumentException
- if the request is accepted but invalidprotected abstract boolean requestInternal(IRequest request, double requestTime) throws java.lang.IllegalArgumentException
request
- java.lang.IllegalArgumentException