|
Class Jabber::Protocol::Message
|
|
from_element,
new,
reply,
send,
session=,
set_body,
set_error,
set_outofband,
set_subject,
set_thread,
set_x,
set_xhtml,
to_s,
[RW] |
:body |
|
[RW] |
:error |
|
[RW] |
:errorcode |
|
[RW] |
:from |
|
[RW] |
:id |
|
[RW] |
:oobData |
|
[RW] |
:subject |
|
[RW] |
:thread |
|
[RW] |
:to |
|
[RW] |
:type |
|
[RW] |
:x |
|
[RW] |
:xhtml |
|
Creates a Message
to: | [String | Jabber::JID] The jabber id to send this
message to (or from)
|
type: | [Integer=NORMAL] The type of message...Message::(NORMAL, CHAT, GROUPCHAT,
HEADLINE)
|
Chaining method...sets the body of the message
Chaining method...sets the subject of the message
Chaining method...sets the XHTML body of the message
Chaining method...sets the thread of the message
Chaining method...sets the OOB data of the message
Chaining method...sets the extended data of the message
Sets an error code to be returned(chaining method)
Sends the message to the Jabber service for
delivery
wait: | [Boolean = false] Wait for reply before return?
|
&block: | [Block] A block to process the message replies
|
Sets the session instance
Builds a reply to an existing message by setting:
- to = from
- id = id
- thread = thread
- type = type
- session = session
Generates XML that complies with the Jabber
protocol for sending the message through the Jabber service.
return: | [String] The XML string.
|
|