| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IWaitqueue
Interface for the waitqueue of plans. The waitqueue makes a plan plan responsive to events permanently.
| Method Summary | |
|---|---|
|  void | addCondition(ICondition condition)Add a condition. | 
|  void | addFilter(IFilter filter)Add a user filter. | 
|  void | addGoal(String type)Add a goal. | 
|  void | addInternalEvent(String type)Add an internal event. | 
|  void | addMessageEvent(String type)Add a message event. | 
|  void | addReply(IMessageEvent me)Add a message event reply. | 
|  void | addSubgoal(IGoal subgoal)Add a subgoal. | 
|  IEvent[] | getEvents()Get all waitqueue events. | 
|  IEvent[] | getEvents(IFilter filter)Get all waitqueue events that match the filter. | 
|  boolean | isEmpty()Test if the waitqueue is empty. | 
|  void | removeCondition(ICondition condition)Remove a condition. | 
|  void | removeFilter(IFilter filter)Remove a user filter. | 
|  void | removeGoal(IGoal subgoal)Remove a subgoal. | 
|  void | removeGoal(String type)Remove a goal. | 
|  void | removeInternalEvent(String type)Remove an internal event. | 
|  void | removeMessageEvent(String type)Remove a message event. | 
|  void | removeReply(IMessageEvent me)Remove a message event reply. | 
|  int | size()Get the number of events in the waitqueue. | 
| Method Detail | 
|---|
IEvent[] getEvents()
IEvent[] getEvents(IFilter filter)
filter - The filter.
void addMessageEvent(String type)
type - The type.void addReply(IMessageEvent me)
me - The message event.void addInternalEvent(String type)
type - The type.void addGoal(String type)
type - The type.void addSubgoal(IGoal subgoal)
subgoal - The subgoal.void addFilter(IFilter filter)
filter - The user filter.void addCondition(ICondition condition)
condition - The condition.void removeMessageEvent(String type)
type - The type.void removeReply(IMessageEvent me)
me - The message event.void removeInternalEvent(String type)
type - The type.void removeGoal(String type)
type - The type.void removeGoal(IGoal subgoal)
subgoal - The subgoal.void removeFilter(IFilter filter)
filter - The user filter.void removeCondition(ICondition condition)
condition - The condition.int size()
boolean isEmpty()
| 
 | Jadex 0.96-beta1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.