de.sciss.lucre.event

EventLikeSerializer

trait EventLikeSerializer[S <: Sys[S], Repr <: Writable] extends Reader[S, Repr] with serial.Serializer[event.EventLikeSerializer.S.Tx, event.EventLikeSerializer.S.Acc, Repr]

A trait to serialize events which can be both constants and immutable nodes. An implementation mixing in this trait just needs to implement methods readConstant to return the constant instance, and read with the Event.Targets argument to return the immutable node instance.

The constant event should mix in Constant which takes care of writing the appropriate serialization preamble.

Linear Supertypes
serial.Serializer[S.Tx, S.Acc, Repr], Writer[Repr], serial.Reader[S.Tx, S.Acc, Repr], Reader[S, Repr], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EventLikeSerializer
  2. Serializer
  3. Writer
  4. Reader
  5. Reader
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def read(in: DataInput, access: S.Acc, targets: Targets[S])(implicit tx: S.Tx): Repr with Node[S]

    Definition Classes
    Reader
  2. abstract def readConstant(in: DataInput)(implicit tx: S.Tx): Repr

    Called by the implementation when the cookie for constant value is detected in deserialization.

    Called by the implementation when the cookie for constant value is detected in deserialization.

    returns

    the constant representation of this event like type, which should mix in trait Constant.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  15. def read(in: DataInput, access: S.Acc)(implicit tx: S.Tx): Repr

    Definition Classes
    EventLikeSerializer → Reader
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  17. def toString(): String

    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def write(v: Repr, out: DataOutput): Unit

    Definition Classes
    EventLikeSerializer → Writer

Inherited from serial.Serializer[S.Tx, S.Acc, Repr]

Inherited from Writer[Repr]

Inherited from serial.Reader[S.Tx, S.Acc, Repr]

Inherited from Reader[S, Repr]

Inherited from AnyRef

Inherited from Any

Ungrouped