Daemon


Overview

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.



Parents Object ,Element


Constructors



Attributes
actionOperationNo Documentation Specified
idElementNo Documentation Specified
persistentBooleanNo Documentation Specified
slotSymbolNo Documentation Specified
targetElementNo Documentation Specified
tracedBooleanNo Documentation Specified
typeIntegerNo Documentation Specified



Operations
action():ElementNo Documentation Specified
addDaemon(d:Element):ElementNo Documentation Specified
addMultiDaemon(d:Element,target:Element):ElementNo Documentation Specified
addMultiTarget(object:Element,target:Element):ElementNo Documentation Specified
addToDaemonTable(d:Daemon):ElementNo Documentation Specified
addToMultiDaemonTable(key:Element,d:Daemon):ElementNo Documentation Specified
daemons():ElementNo Documentation Specified
get(name:String):ElementNo Documentation Specified
getMultiDaemon(key:Element):ElementNo Documentation Specified
getStructuralFeatureNames():Set(String)No Documentation Specified
getTarget(object:Element):ElementNo Documentation Specified
hasMultiDaemon(key:Element):ElementNo Documentation Specified
hasSlot(name:String):BooleanNo Documentation Specified
id():ElementNo Documentation Specified
init(args:Seq(Element)):ElementNo Documentation Specified
invoke(target:Element,args:Seq(Element)):ElementNo Documentation Specified
invokeAction(target:Element,args:Seq(Element)):ElementNo Documentation Specified
isMultiDaemon():ElementNo Documentation Specified
matchesId(id:Element):ElementNo Documentation Specified
matchesTarget(object:Element,target:Element):ElementNo Documentation Specified
name():ElementNo Documentation Specified
persistent():ElementNo Documentation Specified
removeDaemon(d:Element,target:Element):ElementNo Documentation Specified
removeFromDaemonTable(d:Daemon):ElementNo Documentation Specified
removeMultiTarget(object:Element,target:Element):ElementNo Documentation Specified
set(name:Element,value:Element):ElementNo Documentation Specified
slot():ElementNo Documentation Specified
target():ElementNo Documentation Specified
toString():StringNo Documentation Specified
trace():ElementNo Documentation Specified
traceAll():Element Trace all current daemons. Trace will print a message when the daemon fires.
traced():ElementNo Documentation Specified
type():ElementNo Documentation Specified
untrace():ElementNo 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.