Packages

final case class Event(subscriptionId: Id, publicationId: Id, details: Dict = Event.defaultOptions, payload: Payload = Payload())(implicit validator: Validator, executionContent: ExecutionContext) extends ProtocolMessage with DataConveyor with Product with Serializable

Event dispatched by brokers to subscribers for subscriptions the event was matching.

[EVENT, SUBSCRIBED.Subscription|id, PUBLISHED.Publication|id, Details|dict] [EVENT, SUBSCRIBED.Subscription|id, PUBLISHED.Publication|id, Details|dict, Arguments|list] [EVENT, SUBSCRIBED.Subscription|id, PUBLISHED.Publication|id, Details|dict, Arguments|list, ArgumentsKw|dict]

subscriptionId

is the identifier of the subscription under which the subscriber receives the event (the identifier for the subscription originally handed out by the broker to the subscriber)

publicationId

is the identifier of the publication of the published event

details

is a dictionary that allows to provide additional event details in an extensible way

payload

is the payload bearing application data

Linear Supertypes
Serializable, Serializable, Product, Equals, DataConveyor, ProtocolMessage, Message, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Event
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DataConveyor
  7. ProtocolMessage
  8. Message
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Event(subscriptionId: Id, publicationId: Id, details: Dict = Event.defaultOptions, payload: Payload = Payload())(implicit validator: Validator, executionContent: ExecutionContext)

    subscriptionId

    is the identifier of the subscription under which the subscriber receives the event (the identifier for the subscription originally handed out by the broker to the subscriber)

    publicationId

    is the identifier of the publication of the published event

    details

    is a dictionary that allows to provide additional event details in an extensible way

    payload

    is the payload bearing application data

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 args: Future[List[Any]]

    Is the conveyed data as list of indexed arguments

    Is the conveyed data as list of indexed arguments

    returns

    the (future of) indexed args

    Definition Classes
    DataConveyor
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val details: Dict
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def kwargs[T](implicit ctag: ClassTag[T]): Future[T]

    Is the conveyed data as instance of the given user tpye

    Is the conveyed data as instance of the given user tpye

    T

    is the user type

    returns

    the (future of) named args

    Definition Classes
    DataConveyor
  13. def kwargs: Future[Map[String, Any]]

    Is the conveyed data as dictionary of named arguments

    Is the conveyed data as dictionary of named arguments

    returns

    the (future of) named args

    Definition Classes
    DataConveyor
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  17. val payload: Payload
    Definition Classes
    EventDataConveyor
  18. val publicationId: Id
  19. val subscriptionId: Id
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. val tpe: Int
    Definition Classes
    EventProtocolMessage
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DataConveyor

Inherited from ProtocolMessage

Inherited from Message

Inherited from AnyRef

Inherited from Any

Ungrouped