221
222
223
224
225
226
227
228
|
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
|
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
|
domain, resource];
}
- (OFString*)description
{
return [self fullJID];
}
- (BOOL)isEqual: (id)object
{
XMPPJID *otherJID;
if (object == self)
return YES;
if (![object isKindOfClass: [XMPPJID class]])
return NO;
otherJID = object;
if ([node isEqual: [otherJID node]] &&
[domain isEqual: [otherJID domain]] &&
[resource isEqual: [otherJID resource]])
return YES;
return NO;
}
@end
|