BecomeStatement
com.reactific.riddl.language.AST.BecomeStatement
case class BecomeStatement(loc: At, entity: EntityRef, handler: HandlerRef) extends Statement
An action that changes the behavior of an entity by making it use a new handler for its messages; named for the "become" operation in Akka that does the same for an user.
Value parameters
- entity
-
The entity whose behavior is to change
- handler
-
The reference to the new handler for the entity
- loc
-
The location in the source of the become action
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Statementtrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass Any
Members list
In this article