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 Serializable
trait Product
trait Equals
trait Statement
trait RiddlValue
trait RiddlNode
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def format: String

Format the node to a string

Format the node to a string

Attributes

override def kind: String

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
RiddlNode

Determine if this node is a container or not

Determine if this node is a container or not

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
RiddlNode

determine if this node is empty or not.

determine if this node is empty or not. Non-containers are always empty

Attributes

Inherited from:
RiddlNode
final def nonEmpty: Boolean

Attributes

Inherited from:
RiddlNode

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product