trait Node[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.
- Alphabetic
- By Inheritance
- Node
- Mutable
- Identifiable
- Elem
- Publisher
- Disposable
- Writable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
changed: EventLike[S, Any]
- Definition Classes
- Publisher
-
abstract
def
disposeData()(implicit tx: S.Tx): Unit
- Attributes
- protected
-
abstract
def
targets: Targets[S]
- Attributes
- protected
-
abstract
def
tpe: Type
- Definition Classes
- Elem
-
abstract
def
writeData(out: DataOutput): Unit
- Attributes
- protected
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
dispose()(implicit tx: S.Tx): Unit
- Definition Classes
- Node → Disposable
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(that: Any): Boolean
- Definition Classes
- Identifiable → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- Identifiable → AnyRef → Any
-
final
def
id: S.Id
- Definition Classes
- Node → Identifiable
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Node → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- final def write(out: DataOutput): Unit