Class Message
This class is a data-holder for all messages that are sent between the domains.
Defined in: Message.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Message(from, to, body, type, context)
******************************************************************************
|
Method Attributes | Method Name and Description |
---|---|
newReplyMessage(body, previousMessage, type, reply_to_uri)
This is a special factory method for a "reply-message".
|
Class Detail
Message(from, to, body, type, context)
******************************************************************************
Method Detail
newReplyMessage(body, previousMessage, type, reply_to_uri)
This is a special factory method for a "reply-message".
It takes a previous message and swaps their from and to fields.
- Parameters:
- body
- previousMessage
- type
- reply_to_uri