23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
+
+
+
+
|
#import "XMPPStanza.h"
/**
* \brief A class describing a message stanza.
*/
@interface XMPPMessage: XMPPStanza
#ifdef OF_HAVE_PROPERTIES
@property (copy) OFString *body;
#endif
/**
* Creates a new autoreleased XMPPMessage.
*
* \return A new autoreleased XMPPMessage
*/
+ message;
|
90
91
92
93
94
95
96
97
98
99
100
101
102
|
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
-
+
+
+
+
+
+
+
+
|
* \param ID The value for the stanza's id attribute
* \return A initialized XMPPMessage
*/
- initWithType: (OFString*)type
ID: (OFString*)ID;
/**
* Sets the body element of the XMPPMessage.
* Sets the text content of the body of the XMPPMessage.
*
* \param body The text content of the body element or nil to remove the body
*/
- (void)setBody: (OFString*)body;
/**
* Returns the text content of the body element of the XMPPMessage.
*
* \return The text content of the body element of the XMPPMessage.
*/
- (OFString*)body;
@end
|