| java.lang.Object org.cougaar.core.blackboard.SubscriptionWatcher
Method Summary | |
public synchronized boolean | clearSignal() | public synchronized void | signalNotify(int event) Some blackboard activity has occured, so the watcher should
schedule a separate thread, open a transaction, check if its
subscriptions have changed, and finish the transaction. | protected boolean | test() | public synchronized boolean | waitForSignal() Wait for a signal to continue. |
CLIENT | final public static int CLIENT(Code) | | |
EXTERNAL | final public static int EXTERNAL(Code) | | |
INTERNAL | final public static int INTERNAL(Code) | | |
clientFlag | protected boolean clientFlag(Code) | | |
externalFlag | protected boolean externalFlag(Code) | | have the collections changed since we last looked?
|
internalFlag | protected boolean internalFlag(Code) | | |
clearSignal | public synchronized boolean clearSignal()(Code) | | |
signalNotify | public synchronized void signalNotify(int event)(Code) | | Some blackboard activity has occured, so the watcher should
schedule a separate thread, open a transaction, check if its
subscriptions have changed, and finish the transaction.
|
test | protected boolean test()(Code) | | true IFF it is time to wake up.by default, this will return true when any of externalFlag, internalFlag and clientFlag are true. |
waitForSignal | public synchronized boolean waitForSignal()(Code) | | Wait for a signal to continue.
true iff the wake signal is unconditional. |
|
|