Template Minimum Messages¶
These are the messages that the Template Minimum engine can receive/respond to.
Message interface¶
type TemplateMinimumMsg :=
| TemplateMinimumMsgJustHi
| TemplateMinimumMsgExampleRequest ExampleRequest
| TemplateMinimumMsgExampleReply ExampleReply;
Message sequence diagrams¶
ExampleRequest
and ExampleReply
¶
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ut purus eget sapien. Nulla facilisi.
Message types¶
TemplateMinimumMsgJustHi
¶
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
ExampleRequest
¶
Example request.
type ExampleRequest :=
mkExampleRequest@{
argOne : Nat;
argTwo : Nat;
};
Arguments
argOne
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
argTwo
- Lorem ipsum dolor sit amet, consectetur adipiscing elit.
ExampleReply
¶
Auxiliary types
ReplyPayload
¶
type ReplyPayload :=
mkReplyPayload@{
payload : String;
};
ReplyError
¶
type ReplyError :=
mkReplyError@{
error : String;
};
ExampleReply : Type := Result ReplyError ReplyPayload;
TemplateMinimumMsg
¶
type TemplateMinimumMsg :=
| TemplateMinimumMsgJustHi
| TemplateMinimumMsgExampleRequest ExampleRequest
| TemplateMinimumMsgExampleReply ExampleReply;
Engine components¶
- Template Minimum Configuration
- Template Minimum Environment
- Template Minimum Behaviour