Class Index | File Index

Classes


Class Message

This class is a data-holder for all messages that are sent between the domains.
Defined in: Message.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Message(from, to, body, type, context)
******************************************************************************
Method Summary
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)
******************************************************************************
Parameters:
{Identity} from
: the sender of the message
{Identity[]} to Optional
: recipients of the message
body
: MessageBody ... the message body (a json struct)
type
: MessageType ... the type of the Message (@see MessageType)
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

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Dec 10 2013 17:00:57 GMT-0000 (GMT)