public class NonRedundantDialogPriorityQueue extends DialogPriorityQueue
DialogPriorityQueue
, except it will monitor
Form
s of the UIRequest
s to check there is no redundancy, ie:
no two request with the same form.Constructor and Description |
---|
NonRedundantDialogPriorityQueue() |
Modifier and Type | Method and Description |
---|---|
void |
add(UIRequest UIReq)
Add a new
UIRequest . |
void |
close(String UIReqID)
Remove the
UIRequest corresponding with UIReqID from any set it
belongs to. if the UIRequest is the current request, then after
this call IUIRequestPool.getCurrent() == null. |
get, getCurrent, getNextUIRequest, hasToChange, listAllActive, listAllSuspended, removeAll, suspend, unsuspend
public void add(UIRequest UIReq)
UIRequest
. Directly to the active set.add
in interface IUIRequestPool
add
in class DialogPriorityQueue
public void close(String UIReqID)
UIRequest
corresponding with UIReqID from any set it
belongs to. if the UIRequest
is the current request, then after
this call IUIRequestPool.getCurrent()
== null.close
in interface IUIRequestPool
close
in class DialogPriorityQueue
Copyright © 2015 universAAL Consortium. All Rights Reserved.