org.eligosource.eventsourced.core

MessageEmitter

class MessageEmitter extends AnyRef

Message emitter for emitting event org.eligosource.eventsourced.core.Messages to a org.eligosource.eventsourced.core.Channel.

Emitter usage is optional. Applications may also use org.eligosource.eventsourced.core.Channel actor references directly to emit event messages to destinations (using the !, ? or forward methods on ActorRef).

See also

org.eligosource.eventsourced.core.Emitter

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MessageEmitter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MessageEmitter(channel: ActorRef, message: Message)

    channel

    event message channel.

    message

    event message.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val channel: ActorRef

    event message channel.

  8. def clone(): AnyRef

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def forward(f: Function[Message, Message], context: ActorContext): Unit

    Java API.

    Java API.

    Updates message with function f and emits the updated message to channel using the original sender actor as the sender.

    f

    message update function.

    context

    actor context.

  13. def forward(f: (Message) ⇒ Message)(implicit context: ActorContext): Unit

    Updates message with function f and emits the updated message to channel using the original sender actor as the sender.

    Updates message with function f and emits the updated message to channel using the original sender actor as the sender.

    f

    message update function.

    context

    actor context.

  14. def forwardEvent(event: Any)(implicit context: ActorContext): Unit

    Updates message with event and emits the updated message to channel passing the original sender actor as the sender.

    Updates message with event and emits the updated message to channel passing the original sender actor as the sender.

    event

    event to be emitted.

    context

    actor context.

  15. final def getClass(): Class[_]

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

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

    Definition Classes
    Any
  18. val message: Message

    event message.

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  22. def send(f: Function[Message, Message], sender: ActorRef): Unit

    Java API.

    Java API.

    Updates message with function f and emits the updated message to channel using sender as sender reference.

    f

    message update function.

    sender

    sender reference.

  23. def send(f: (Message) ⇒ Message)(implicit sender: ActorRef = null): Unit

    Updates message with function f and emits the updated message to channel using sender as sender reference.

    Updates message with function f and emits the updated message to channel using sender as sender reference. If invoked from within an actor then the actor reference is implicitly passed on as the implicit sender argument.

    f

    message update function.

    sender

    sender reference.

  24. def sendEvent(event: Any)(implicit sender: ActorRef = null): Unit

    Updates message with event and emits the updated message to channel using sender as sender reference.

    Updates message with event and emits the updated message to channel using sender as sender reference. If invoked from within an actor then the actor reference is implicitly passed on as the implicit sender argument.

    event

    event to be emitted.

    sender

    sender reference.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped