Daemons monitor the state of objects and perform actions when the object changes
state. Daemon technology is the key to implementing a variety of modular reusable
tool architectures such as the observer pattern. XMF-Mosaic uses daemons extensively
to synchronize data across multiple tools. User defined tools can use daemons
to make tools reactive and to ensure data is always consistent.
Operations |
action():Element | No Documentation Specified |
addDaemon(d:Element):Element | No Documentation Specified |
addMultiDaemon(d:Element,target:Element):Element | No Documentation Specified |
addMultiTarget(object:Element,target:Element):Element | No Documentation Specified |
addToDaemonTable(d:Daemon):Element | No Documentation Specified |
addToMultiDaemonTable(key:Element,d:Daemon):Element | No Documentation Specified |
daemons():Element | No Documentation Specified |
get(name:String):Element | No Documentation Specified |
getMultiDaemon(key:Element):Element | No Documentation Specified |
getStructuralFeatureNames():Set(String) | No Documentation Specified |
getTarget(object:Element):Element | No Documentation Specified |
hasMultiDaemon(key:Element):Element | No Documentation Specified |
hasSlot(name:String):Boolean | No Documentation Specified |
id():Element | No Documentation Specified |
init(args:Seq(Element)):Element | No Documentation Specified |
invoke(target:Element,args:Seq(Element)):Element | No Documentation Specified |
invokeAction(target:Element,args:Seq(Element)):Element | No Documentation Specified |
isMultiDaemon():Element | No Documentation Specified |
matchesId(id:Element):Element | No Documentation Specified |
matchesTarget(object:Element,target:Element):Element | No Documentation Specified |
name():Element | No Documentation Specified |
persistent():Element | No Documentation Specified |
removeDaemon(d:Element,target:Element):Element | No Documentation Specified |
removeFromDaemonTable(d:Daemon):Element | No Documentation Specified |
removeMultiTarget(object:Element,target:Element):Element | No Documentation Specified |
set(name:Element,value:Element):Element | No Documentation Specified |
slot():Element | No Documentation Specified |
target():Element | No Documentation Specified |
toString():String | No Documentation Specified |
trace():Element | No Documentation Specified |
traceAll():Element |
Trace all current daemons. Trace will print a message
when the daemon fires.
|
traced():Element | No Documentation Specified |
type():Element | No Documentation Specified |
untrace():Element | No Documentation Specified |
untraceAll():Element |
Untrace all currently traced daemons.
|
From Object: slotMissing, slotMissing, setProperty, setHotLoad, setDaemonsActive, setDaemons, set, renameSlot, removeStructuralFeature, removeDaemonsWithTarget, removeDaemonsWithId, removeDaemonNamed, removeDaemon, machineInit, initSlots, init, hotLoaded, hotLoad, hasSlot, hasProperty, getProperty, get, hasStructuralFeature, getStructuralFeatureNames, hasDaemonWithTarget, hasDaemonWithIdAndTarget, hasDaemonWithId, hasDaemonNamed, fire, destroyDaemon, daemonWithIdAndTarget, daemonWithId, daemonNamed, daemonsActive, daemons, allDaemonsWithTarget, allDaemonsWithId, compositeValues, allCompositeValuesAndSelf, allCompositeValues, addStructuralFeature, addPersistentDaemon, addMultiDaemon, addDaemon. From Element: pprint, pprint, pprint, writeXMLFile, writeXMLFile, writeXML, lift, toSnapshot, toSnapshot, allHTMLEntries, allHTMLPackages, toHTML, writeHTML, writeHTML, writeHTMLAllEntries, writeHTMLAllPackages, writeHTMLIndex, writeHTMLOverview, yield, toString, systemId, setOf, send, save2, save, removeDaemon, removeDaemon, println, print, oclIsKindOf, oclIsTypeOf, noOperationFound, isTypeOf, isReallyKindOf, init, init, of, isKindOf, addTo, checkConstraints, copy, deleteRecursive, die, edit, equals, error, ferror, hashCode.
|