org.eligosource.eventsourced.core

UntypedEventsourcedEmitter

abstract class UntypedEventsourcedEmitter extends UntypedEmitter with Eventsourced

Java API.

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

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

Instance Constructors

  1. new UntypedEventsourcedEmitter()

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor

Abstract Value Members

  1. abstract def id: Int

    Processor id.

    Processor id.

    Definition Classes
    Eventsourced
  2. 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. val extension: EventsourcingExtension

    Attributes
    protected
    Definition Classes
    Eventsourced
  20. def finalize(): Unit

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

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

    Definition Classes
    UntypedActorSupport
  23. def getSelf(): ActorRef

    Definition Classes
    UntypedActorSupport
  24. def getSender(): ActorRef

    Definition Classes
    UntypedActorSupport
  25. def hashCode(): Int

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

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

    Definition Classes
    Any
  28. val journal: ActorRef

    Attributes
    protected
    Definition Classes
    Eventsourced
  29. 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

  30. 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
  31. 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
  32. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Calls super.postStop and then de-registers this processor from org.eligosource.eventsourced.core.EventsourcingExtension.

    Calls super.postStop and then de-registers this processor from org.eligosource.eventsourced.core.EventsourcingExtension.

    Definition Classes
    Eventsourced → Actor
  37. def preRestart(reason: Throwable, message: Option[Any]): Unit

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

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

    Definition Classes
    EventsourcedBehavior → Actor
  40. implicit final val self: ActorRef

    Definition Classes
    Actor
  41. final def sender: ActorRef

    Definition Classes
    Actor
  42. 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

  43. def supervisorStrategy: SupervisorStrategy

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

    Definition Classes
    AnyRef
  45. def toString(): String

    Definition Classes
    AnyRef → Any
  46. 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
  47. def unhandled(message: Any): Unit

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Eventsourced

Inherited from UntypedEmitter

Inherited from Emitter

Inherited from Receiver

Inherited from Behavior

Inherited from UntypedActorSupport

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped