Class JSJaCMessage
Object
|
+--JSJaCPacket
|
+--JSJaCMessage
- class
JSJaCMessage
- extends JSJaCPacket
Models the XMPP notion of an 'message' packet
Defined in JSJaCPacket.js
Constructor Summary |
JSJaCMessage()
A jabber/XMPP message packet
|
Methods inherited from class JSJaCPacket |
pType, getDoc, getNode, setTo, setFrom, setID, setType, setXMLLang, getTo, getFrom, getToJID, getFromJID, getID, getType, getXMLLang, getXMLNS, getChild, getChildVal, clone, isError, errorReply, buildNode, appendNode
|
JSJaCMessage
JSJaCMessage()
A jabber/XMPP message packet
getBody
String getBody()
Gets the body of this message
getSubject
String getSubject()
Gets the subject of this message
Returns:
The subject of this message
getThread
String getThread()
Gets the 'thread' identifier for this message
setBody
JSJaCMessage setBody(<String> body)
Sets the body of the message
Parameters:
body
- Your message to be sent along
setSubject
JSJaCMessage setSubject(<String> subject)
Sets the subject of the message
Parameters:
subject
- Your subject to be sent along
setThread
JSJaCMessage setThread(<String> thread)
Sets the 'tread' attribute for this message. This is used to identify
threads in chat conversations
Parameters:
thread
- Usually a somewhat random hash.
Documentation generated by
JSDoc on Fri Oct 15 18:22:43 2010