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
- Alphabetic
- By Inheritance
- Event
- Serializable
- Serializable
- Product
- Equals
- DataConveyor
- ProtocolMessage
- Message
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val details: Dict
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
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
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
val
payload: Payload
- Definition Classes
- Event → DataConveyor
- val publicationId: Id
- val subscriptionId: Id
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tpe: Int
- Definition Classes
- Event → ProtocolMessage
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )