org.jactr.core.buffer.delegate
Class AddChunkRequestDelegate
java.lang.Object
org.jactr.core.buffer.delegate.AsynchronousRequestDelegate
org.jactr.core.buffer.delegate.AddChunkRequestDelegate
- All Implemented Interfaces:
- IRequestDelegate
- Direct Known Subclasses:
- ImaginalAddChunkRequestDelegate
public class AddChunkRequestDelegate
- extends AsynchronousRequestDelegate
takes a chunk pattern and if the chunk is already encoded, copies it, before
inserting into the buffer via
IActivationBuffer.addSourceChunk(org.jactr.core.chunk.IChunk). If the
chunk is encoded and there are slots to be modified, the chunk will
automatically be copied.
- Author:
- harrison
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddChunkRequestDelegate
public AddChunkRequestDelegate()
- default is to copy encoded chunks
AddChunkRequestDelegate
public AddChunkRequestDelegate(boolean copyEncodedChunks)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
willAccept
public boolean willAccept(IRequest request)