|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.memphis.ccrg.lida.globalworkspace.triggers.NoBroadcastOccurringTrigger
edu.memphis.ccrg.lida.globalworkspace.triggers.NoCoalitionArrivingTrigger
public class NoCoalitionArrivingTrigger
This trigger fires when 'delay' ms has passed without a new broadcast. Check the parent class NoBroadcastTrigger for full understanding.
Constructor Summary | |
---|---|
NoCoalitionArrivingTrigger()
|
Method Summary | |
---|---|
void |
checkForTriggerCondition(java.util.Collection<Coalition> coalitions)
Called each time a new coalition is added to the GlobalWorkspace each BroadcastTrigger 's
'checkForTriggerCondition' method is called. |
Methods inherited from class edu.memphis.ccrg.lida.globalworkspace.triggers.NoBroadcastOccurringTrigger |
---|
getDelay, getTaskManager, init, reset, setTaskManager, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoCoalitionArrivingTrigger()
Method Detail |
---|
public void checkForTriggerCondition(java.util.Collection<Coalition> coalitions)
GlobalWorkspace
each BroadcastTrigger
's
'checkForTriggerCondition' method is called.
In the case of this trigger the 'reset()' method inherited from NoBroadcastOccurringTrigger
is called which resets the TimerTask
object.
Thus this trigger fires when 'delay' ms has passed w/o a new broadcast.
checkForTriggerCondition
in interface BroadcastTrigger
checkForTriggerCondition
in class NoBroadcastOccurringTrigger
coalitions
- Coalitions trigger will check
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |