Node

trait Node[T <: Txn[T]] extends Elem[T] with Mutable[T]

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.

trait Mutable[T]
trait Identified[T]
trait Elem[T]
trait Publisher[T, Any]
trait Disposable[T]
trait Writable
trait Form[T]
class Object
trait Matchable
class Any
trait MappingEventNode[T, A, B]
trait SingleEventNode[T, A]

Value members

Abstract methods

protected
def disposeData()(implicit tx: T): Unit
protected
protected
def writeData(out: DataOutput): Unit

Concrete methods

final
def dispose()(implicit tx: T): Unit
final
def id: Ident[T]
override
def toString: String
Definition Classes
Any
final
def write(out: DataOutput): Unit

Inherited methods

def changed: EventLike[T, Any]
Inherited from
Publisher
override
def equals(that: Any): Boolean
Definition Classes
Identified -> Any
Inherited from
Identified
override
def hashCode: Int
Definition Classes
Identified -> Any
Inherited from
Identified
def tpe: Type
Inherited from
Elem