65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
toIndex: [str length]]];
[self setDomain: [str substringFromIndex: nodesep + 1
toIndex: resourcesep]];
return self;
}
- copy
{
XMPPJID *new = [[XMPPJID alloc] init];
@try {
new->node = [node copy];
|
>
>
>
>
>
>
>
>
>
|
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
toIndex: [str length]]];
[self setDomain: [str substringFromIndex: nodesep + 1
toIndex: resourcesep]];
return self;
}
- (void)dealloc
{
[node release];
[domain release];
[resource release];
[super dealloc];
}
- copy
{
XMPPJID *new = [[XMPPJID alloc] init];
@try {
new->node = [node copy];
|