92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
-
-
+
+
+
|
{
self = [super initWithName: name_
namespace: XMPP_NS_CLIENT];
@try {
if (![name_ isEqual: @"iq"] && ![name_ isEqual: @"message"] &&
![name_ isEqual: @"presence"])
@throw [OFInvalidArgumentException newWithClass: isa
selector: _cmd];
@throw [OFInvalidArgumentException
exceptionWithClass: isa
selector: _cmd];
[self setDefaultNamespace: XMPP_NS_CLIENT];
[self setPrefix: @"stream"
forNamespace: XMPP_NS_STREAM];
if (type_ != nil)
[self setType: type_];
|