|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EventEvaluator.Resource.TimerList
Hold the list of active events whose expression are currently TRUE
.
The list is implemented as a double-linked list.
Constructor Summary | |
TimerList(Notifier nt)
Receives a reference to the Nofier thread, responsible for notifing the occurence of events. |
Method Summary | |
void |
add(ActiveEvent ae,
java.lang.String meid)
Add an active event on the list. |
void |
generateNotifyList()
Generate a list of all active events that occured. |
void |
remove(ActiveEvent ae,
java.lang.String meid)
Remove an active event from the list. |
void |
removeAllEid(java.lang.String eid)
Remove all active events from the list that are holded in an specific entity. |
void |
removeAllMeidPid(java.lang.String meid,
java.lang.String pid)
Remove all active events from the list whose boolean expression contains an specific parameter and are holded in an specific entity. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TimerList(Notifier nt)
nt
- notifier thread referenceMethod Detail |
public void add(ActiveEvent ae, java.lang.String meid)
ae
- reference to the active eventmeid
- entity identification where the active event is taken placepublic void remove(ActiveEvent ae, java.lang.String meid)
ae
- reference to the active eventmeid
- entity identification where the active event is taken placepublic void removeAllEid(java.lang.String eid)
eid
- entity identificationpublic void removeAllMeidPid(java.lang.String meid, java.lang.String pid)
eid
- entity identificationpid
- parameter identificationpublic void generateNotifyList()
TRUE
during the duration time specified on the resource event definition.
The list of active events that occured is passed to a notifier thread, responsible for notifing their occurence.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |