org.eligosource.eventsourced.core

UntypedEmitter

abstract class UntypedEmitter extends UntypedActorSupport with Emitter

Java API.

Base class for untyped actors, modified with org.eligosource.eventsourced.core.Emitter.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UntypedEmitter
  2. Emitter
  3. Receiver
  4. Behavior
  5. UntypedActorSupport
  6. Actor
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UntypedEmitter()

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Abstract Value Members

  1. abstract def onReceive(message: Any): Unit

    Definition Classes
    UntypedActorSupport
    Annotations
    @throws( classOf[Exception] )

Concrete 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. def become(behavior: Procedure[Any], discardOld: Boolean): Unit

    Java API.

    Java API.

    Puts behavior on the hotswap stack. This will preserve the behavior of this stackable trait. Actors that additionally want to replace the behavior of this stackable trait should call getContext().become(...).

    behavior

    new behavior

    discardOld

    if true, unbecome() will be called prior to pushing behavior.

    Definition Classes
    Behavior
  8. def become(behavior: Procedure[Any]): Unit

    Java API.

    Java API.

    Puts behavior on the hotswap stack. This will preserve the behavior of this stackable trait. Actors that additionally want to replace the behavior of this stackable trait should call getContext().become(...). The existing (old) behavior will be discarded.

    behavior

    new behavior

    Definition Classes
    Behavior
  9. def become(behavior: akka.actor.Actor.Receive, discardOld: Boolean = true): Unit

    Puts behavior on the hotswap stack.

    Puts behavior on the hotswap stack. This will preserve the behavior of this stackable trait. Actors that additionally want to replace the behavior of this stackable trait should call context.become(...).

    behavior

    new behavior

    discardOld

    if true, unbecome() will be called prior to pushing behavior.

    Definition Classes
    Behavior
  10. def channels: Map[Int, ActorRef]

    Returns a map of registered org.eligosource.eventsourced.core.Channels.

    Returns a map of registered org.eligosource.eventsourced.core.Channels. Mapping key is the channel id.

    Definition Classes
    Emitter
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def confirm(pos: Boolean = true): Unit

    Positively or negatively confirms the receipt of the current event message.

    Positively or negatively confirms the receipt of the current event message.

    pos

    true for a positive receipt confirmation, false for a negative one.

    Definition Classes
    Receiver
    Exceptions thrown
    IllegalStateException

    if the the last message received by this receiver is not of type org.eligosource.eventsourced.core.Message

  13. implicit val context: ActorContext

    Definition Classes
    Actor
  14. def emitter(channelName: String): MessageEmitter

    Returns a message emitter that captures the current event message and a channel that has been registered under channelName.

    Returns a message emitter that captures the current event message and a channel that has been registered under channelName. If no channel exists for channelName it will be context.system.deadLetters. Applications can run the returned emitter from within any thread for sending output messages (which will be derived from the captured event message).

    Definition Classes
    Emitter
  15. def emitter(channelId: Int): MessageEmitter

    Returns a message emitter that captures the current event message and a channel that has been registered under channelId.

    Returns a message emitter that captures the current event message and a channel that has been registered under channelId. If no channel exists for channelId it will be context.system.deadLetters. Applications can run the returned emitter from within any thread for sending output messages (which will be derived from the captured event message).

    Definition Classes
    Emitter
  16. def emitter: MessageEmitterFactory

    Returns a message emitter factory that captures the current event message and the map of registered channels.

    Returns a message emitter factory that captures the current event message and the map of registered channels. Applications can run the returned emitter factory from within any thread.

    Definition Classes
    Emitter
  17. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  21. def getContext(): UntypedActorContext

    Definition Classes
    UntypedActorSupport
  22. def getSelf(): ActorRef

    Definition Classes
    UntypedActorSupport
  23. def getSender(): ActorRef

    Definition Classes
    UntypedActorSupport
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  25. final def invoke(msg: Any): Unit

    Definition Classes
    Behavior
  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def message: Message

    Current event message.

    Current event message.

    Definition Classes
    Receiver
    Exceptions thrown
    IllegalStateException

    if the the last message received by this receiver is not of type org.eligosource.eventsourced.core.Message

    See also

    messageOption

  28. def messageOption: Option[Message]

    Current event message option.

    Current event message option. None if the last message received by this receiver is not of type org.eligosource.eventsourced.core.Message.

    Definition Classes
    Receiver
  29. def namedChannels: Map[String, ActorRef]

    Returns a map of registered named org.eligosource.eventsourced.core.Channels.

    Returns a map of registered named org.eligosource.eventsourced.core.Channels. Mapping key is the channel name.

    Definition Classes
    Emitter
  30. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  33. def postRestart(reason: Throwable): Unit

    Definition Classes
    UntypedActorSupport → Actor
    Annotations
    @throws( classOf[Exception] )
  34. def postStop(): Unit

    Definition Classes
    UntypedActorSupport → Actor
    Annotations
    @throws( classOf[Exception] )
  35. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Definition Classes
    UntypedActorSupport → Actor
    Annotations
    @throws( classOf[Exception] )
  36. def preStart(): Unit

    Definition Classes
    UntypedActorSupport → Actor
    Annotations
    @throws( classOf[Exception] )
  37. def receive: PartialFunction[Any, Unit]

    Definition Classes
    EmitterReceiverBehavior → Actor
  38. implicit final val self: ActorRef

    Definition Classes
    Actor
  39. final def sender: ActorRef

    Definition Classes
    Actor
  40. def sequenceNr: Long

    Sequence number of current event message

    Sequence number of current event message

    Definition Classes
    Receiver
    Exceptions thrown
    IllegalStateException

    if the the last message received by this receiver is not of type org.eligosource.eventsourced.core.Message

  41. def supervisorStrategy: SupervisorStrategy

    Definition Classes
    UntypedActorSupport → Actor
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  43. def toString(): String

    Definition Classes
    AnyRef → Any
  44. def unbecome(): Unit

    Reverts the behavior to the previous one on the hotswap stack.

    Reverts the behavior to the previous one on the hotswap stack. This will preserve the behavior of this stackable trait.

    Definition Classes
    Behavior
  45. def unhandled(message: Any): Unit

    Definition Classes
    Actor
  46. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Emitter

Inherited from Receiver

Inherited from Behavior

Inherited from UntypedActorSupport

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped