traitNode[S <: Sys[S]] extends Elem[S] with Mutable[event.Node.S.ID, event.Node.S.Tx]
XXX TODO -- this documentation is outdated.
An Event.Node is most similar to EScala's EventNode class. It represents an observable
object and can also act as an observer itself. It adds the Reactor functionality in the
form of a proxy, forwarding to internally stored Targets. It also provides a final
implementation of the Writable and Disposable traits, asking sub classes to provide
methods writeData and disposeData. That way it is ensured that the sealed Reactor trait
is written first as the Targets stub, providing a means for partial deserialization during
the push phase of event propagation.
This trait also implements equals and hashCode in terms of the id inherited from the
targets.
XXX TODO -- this documentation is outdated.
An
Event.Nodeis most similar to EScala'sEventNodeclass. It represents an observable object and can also act as an observer itself. It adds theReactorfunctionality in the form of a proxy, forwarding to internally storedTargets. It also provides a final implementation of theWritableandDisposabletraits, asking sub classes to provide methodswriteDataanddisposeData. That way it is ensured that the sealedReactortrait is written first as theTargetsstub, providing a means for partial deserialization during the push phase of event propagation.This trait also implements
equalsandhashCodein terms of theidinherited from the targets.