24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
-
-
-
+
+
+
+
+
|
#import <ObjFW/ObjFW.h>
/**
* \brief A class for easy handling of JIDs.
*/
@interface XMPPJID: OFObject <OFCopying>
{
/// The JID's localpart
OFString *node;
/// The JID's domainpart
OFString *domain;
/// The JID's resourcepart
OFString *resource;
}
#ifdef OF_HAVE_PROPERTIES
/// The JID's localpart
@property (copy) OFString *node;
/// The JID's domainpart
@property (copy) OFString *domain;
/// The JID's resourcepart
@property (copy) OFString *resource;
#endif
/**
* Creates a new autoreleased XMPPJID.
*
* \return A new autoreleased XMPPJID
*/
+ JID;
|
68
69
70
71
72
73
74
75
|
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
+
+
+
+
+
+
+
|
*/
- (OFString*)bareJID;
/**
* \return An OFString containing the full JID
*/
- (OFString*)fullJID;
- (void)setNode: (OFString*)node;
- (OFString*)node;
- (void)setDomain: (OFString*)domain;
- (OFString*)domain;
- (void)setResource: (OFString*)resource;
- (OFString*)resource;
@end
|