public class DelayedBufferInsertionTimedEvent extends AbstractTimedEvent implements IBufferBasedTimedEvent
Modifier and Type | Field and Description |
---|---|
protected IActivationBuffer |
_buffer |
protected IChunk |
_chunkToInsert |
protected IChunk |
_insertedChunk |
static org.apache.commons.logging.Log |
LOGGER
logger definition
|
_endTime, _hasAborted, _hasFired, _startTime, _toString
Constructor and Description |
---|
DelayedBufferInsertionTimedEvent(IActivationBuffer buffer,
IChunk chunkToInsert,
double startTime,
double endTime) |
Modifier and Type | Method and Description |
---|---|
void |
fire(double time)
called when this event should be fired..
|
IChunk |
getBoundChunk()
return the chunk that is (or will be) in the buffer that will be
manipulated
|
IActivationBuffer |
getBuffer()
return the buffer that this timed event will be posting changes
to.
|
IChunk |
getChunkToInsert()
the chunk that is to be inserted into the buffer
|
IChunk |
getInsertedChunk()
return the chunk that is actually in the buffer after firing, often this is
a copy of chunktoinsert
|
abort, getEndTime, getStartTime, hasAborted, hasFired, setTimes, shouldWarnOnTimeSlips, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
abort, getEndTime, getStartTime, hasAborted, hasFired
public static final org.apache.commons.logging.Log LOGGER
protected IChunk _chunkToInsert
protected IChunk _insertedChunk
protected IActivationBuffer _buffer
public DelayedBufferInsertionTimedEvent(IActivationBuffer buffer, IChunk chunkToInsert, double startTime, double endTime)
public void fire(double time)
AbstractTimedEvent
fire
in interface ITimedEvent
fire
in class AbstractTimedEvent
time
- Description of the Parameterpublic IChunk getChunkToInsert()
public IChunk getInsertedChunk()
public IActivationBuffer getBuffer()
IBufferBasedTimedEvent
getBuffer
in interface IBufferBasedTimedEvent
public IChunk getBoundChunk()
IBufferBasedTimedEvent
getBoundChunk
in interface IBufferBasedTimedEvent