final case class EventSourcedReply(commandId: Long = 0L, clientAction: Option[ClientAction] = _root_.scala.None, sideEffects: Seq[SideEffect] = _root_.scala.Seq.empty, events: Seq[Any] = _root_.scala.Seq.empty, snapshot: Option[Any] = _root_.scala.None) extends GeneratedMessage with Message[EventSourcedReply] with Updatable[EventSourcedReply] with Product with Serializable

A reply to a command.

commandId

The id of the command being replied to. Must match the input command.

clientAction

The action to take

sideEffects

Any side effects to perform

events

A list of events to persist - these will be persisted before the reply is sent.

snapshot

An optional snapshot to persist. It is assumed that this snapshot will have the state of any events in the events field applied to it. It is illegal to send a snapshot without sending any events.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[EventSourcedReply], Message[EventSourcedReply], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventSourcedReply
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EventSourcedReply(commandId: Long = 0L, clientAction: Option[ClientAction] = _root_.scala.None, sideEffects: Seq[SideEffect] = _root_.scala.Seq.empty, events: Seq[Any] = _root_.scala.Seq.empty, snapshot: Option[Any] = _root_.scala.None)

    commandId

    The id of the command being replied to. Must match the input command.

    clientAction

    The action to take

    sideEffects

    Any side effects to perform

    events

    A list of events to persist - these will be persisted before the reply is sent.

    snapshot

    An optional snapshot to persist. It is assumed that this snapshot will have the state of any events in the events field applied to it. It is illegal to send a snapshot without sending any events.

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. def addAllEvents(__vs: Iterable[Any]): EventSourcedReply
  5. def addAllSideEffects(__vs: Iterable[SideEffect]): EventSourcedReply
  6. def addEvents(__vs: Any*): EventSourcedReply
  7. def addSideEffects(__vs: SideEffect*): EventSourcedReply
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearClientAction: EventSourcedReply
  10. def clearEvents: EventSourcedReply
  11. def clearSideEffects: EventSourcedReply
  12. def clearSnapshot: EventSourcedReply
  13. val clientAction: Option[ClientAction]
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  15. val commandId: Long
  16. def companion: EventSourcedReply.type
    Definition Classes
    EventSourcedReply → GeneratedMessage
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. val events: Seq[Any]
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. def getClientAction: ClientAction
  22. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    EventSourcedReply → GeneratedMessage
  23. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    EventSourcedReply → GeneratedMessage
  24. def getSnapshot: Any
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def mergeFrom(_input__: CodedInputStream): EventSourcedReply
    Definition Classes
    EventSourcedReply → Message
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def serializedSize: Int
    Definition Classes
    EventSourcedReply → GeneratedMessage
  31. val sideEffects: Seq[SideEffect]
  32. val snapshot: Option[Any]
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  35. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  36. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  37. def toProtoString: String
    Definition Classes
    EventSourcedReply → GeneratedMessage
  38. def update(ms: (Lens[EventSourcedReply, EventSourcedReply]) ⇒ Mutation[EventSourcedReply]*): EventSourcedReply
    Definition Classes
    Updatable
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  42. def withClientAction(__v: ClientAction): EventSourcedReply
  43. def withCommandId(__v: Long): EventSourcedReply
  44. def withEvents(__v: Seq[Any]): EventSourcedReply
  45. def withSideEffects(__v: Seq[SideEffect]): EventSourcedReply
  46. def withSnapshot(__v: Any): EventSourcedReply
  47. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  48. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    EventSourcedReply → GeneratedMessage
  49. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[EventSourcedReply]

Inherited from Message[EventSourcedReply]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped