OnMessageClause
com.reactific.riddl.language.AST.OnMessageClause
case class OnMessageClause(loc: At, msg: MessageRef, from: Option[Reference[Definition]], statements: Seq[Statement], brief: Option[LiteralString], description: Option[Description]) extends OnClause
Defines the actions to be taken when a particular message is received by an entity. OnMessageClauses are used in the definition of a Handler with one for each kind of message that handler deals with.
Value parameters
- brief
-
A brief description (one sentence) for use in documentation
- description
-
An optional description of the on clause.
- from
-
Optional message generating
- loc
-
The location of the "on" clause
- msg
-
A reference to the message type that is handled
- statements
-
A set of statements that define the behavior when the msg is received.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait OnClausetrait HandlerDefinitiontrait LeafDefinitiontrait Definitiontrait Container[Definition]trait BrieflyDescribedValuetrait DescribedValuetrait RiddlValuetrait RiddlNodeclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
determine if this node is empty or not.
determine if this node is empty or not. Non-containers are always empty
Attributes
- Definition Classes
Attributes
- Definition Classes
Inherited methods
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Inherited from:
- LeafDefinition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- BrieflyDescribedValue
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- DescribedValue
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Definition Classes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Container
Attributes
- Inherited from:
- Definition
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article