TellStatement
com.reactific.riddl.language.AST.TellStatement
case class TellStatement(loc: At, msg: MessageRef, processorRef: ProcessorRef[Processor[_, _]]) extends Statement
An action that tells a message to an entity. This is very analogous to the tell operator in Akka. Unlike using an Portlet, this implies a direct relationship between the telling entity and the told entity. This action is considered useful in "high cohesion" scenarios. Use SendStatement to reduce the coupling between entities because the relationship is managed by a Context 's Connector instead.
Value parameters
- loc
-
The location of the tell action
- msg
-
A constructed message value to send to the entity, probably a command
- processorRef
-
The processor to which the message is directed
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass Any
Members list
In this article