|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jactr.core.queue.timedevents.AbstractTimedEvent
org.jactr.core.queue.timedevents.DelayedBufferInsertionTimedEvent
public class DelayedBufferInsertionTimedEvent
insert a chunk into a specific buffer after a certain time has elapsed
| Field Summary | |
|---|---|
static org.apache.commons.logging.Log |
LOGGER
logger definition |
| Constructor Summary | |
|---|---|
DelayedBufferInsertionTimedEvent(IActivationBuffer buffer,
IChunk chunkToInsert,
double startTime,
double endTime)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.jactr.core.queue.timedevents.AbstractTimedEvent |
|---|
abort, getEndTime, getStartTime, hasAborted, hasFired, setTimes, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jactr.core.queue.ITimedEvent |
|---|
abort, getEndTime, getStartTime, hasAborted, hasFired |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log LOGGER
| Constructor Detail |
|---|
public DelayedBufferInsertionTimedEvent(IActivationBuffer buffer,
IChunk chunkToInsert,
double startTime,
double endTime)
| Method Detail |
|---|
public void fire(double time)
AbstractTimedEvent
fire in interface ITimedEventfire in class AbstractTimedEventtime - Description of the Parameterpublic IChunk getChunkToInsert()
public IChunk getInsertedChunk()
public IActivationBuffer getBuffer()
IBufferBasedTimedEvent
getBuffer in interface IBufferBasedTimedEventpublic IChunk getBoundChunk()
IBufferBasedTimedEvent
getBoundChunk in interface IBufferBasedTimedEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||