public abstract class AbstractAsyncAIComponent extends java.lang.Object implements java.lang.Runnable, IChainable
| Constructor and Description |
|---|
AbstractAsyncAIComponent() |
AbstractAsyncAIComponent(IChainable next) |
| Modifier and Type | Method and Description |
|---|---|
IChainable |
getNext()
Should return the next component set by setNext()
|
boolean |
hasNext()
Should return true if a next component has been set.
|
void |
put(EnvironmentModel model)
Accept a model for processing.
|
void |
run() |
void |
setNext(IChainable next)
Should set what getNext() returns.
|
public AbstractAsyncAIComponent()
public AbstractAsyncAIComponent(IChainable next)
public void run()
run in interface java.lang.Runnablepublic void put(EnvironmentModel model)
IChainableput in interface IChainablemodel - The model to be processedpublic void setNext(IChainable next)
IChainablesetNext in interface IChainablenext - The next component in the chain.public IChainable getNext()
IChainablegetNext in interface IChainablepublic boolean hasNext()
IChainablehasNext in interface IChainable